8

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?

epo3
  • 2,991
  • 2
  • 33
  • 60
RaziB
  • 91
  • 1
  • 3
  • 4
    Are 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
  • 7
    I 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

0 Answers0