I do not think it is possible with the 'R CMD Sweave' interface, but
you can always use the 'R -e' approach, e.g. R -e 'Sweave("foo.Rnw");
file.rename("foo.tex", "foo-bar.tex"); tools::texi2dvi('foo-bar.tex')'
(not tested, but idea is there)
To make this more natural, you can try the knitr package
HI,
I am working on R and Latex.
R CMD Sweave Test.Rnw (this generates Rnw.Tex file )
R CMD pdflatex Test.tex (It generated Test.pdf)
Is there any way to change the name of of output file (Test.pdf). I want it
to pass the output file name as parameter.
R CMD Sweave Test.Rnw Output_File
2 matches
Mail list logo