R create reference manual with R CMD rd2pdf
Asked Answered
V

0

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?

Virtuous answered 5/3, 2016 at 17:51 Comment(3)
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.Peripatetic
I found it. system("R CMD Rd2pdf MyRpackage"), if I type this in command line, it will automatically creates the pdf manual.Virtuous
@Peripatetic would you like to convert this comment to answer so that Razi can accept it?Karame

© 2022 - 2024 — McMap. All rights reserved.