The R documentation mentions to create a PDF or DVI file from an Rnw template, the Sweave command can be used used.
However, is there any way to go from a .Rout file straight to pdf with an Rnw template ? What I'm trying to avoid is adding the Sweave markup to the .tex file manually. What I think I'm missing is the exact arguments to the Sweave command. I tried numerous forms of: Sweave("batch.Rout", RweaveLatex(), "myR.Rnw"); but without any succuess. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.