I am creating a R package and want to make a pdf manual with it. I was using rd2pdf
command for this. I have written
R CMD Rd2pdf "C:/Users/razrahma/Documents/RPackage/mypackage"
in the console. But it is showing Error: unexpected symbol in "R CMD"
. What am I missing?
Asked
Active
Viewed 2,512 times
8
-
4Are you typing this into the R console? I may be wrong but I think you need to execute this from the command line or a batch file. – CCurtis Mar 05 '16 at 18:25
-
7I found it. system("R CMD Rd2pdf MyRpackage"), if I type this in command line, it will automatically creates the pdf manual. – RaziB Mar 07 '16 at 20:37