[R] Rename output file in Swaeve and Tex

Manish Gupta mandecent.gupta at gmail.com
Fri Jun 15 11:40:47 CEST 2012


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

R CMD pdflatex Output_File.tex 

So output file name will be Output_File.pdf 

Regards



--
View this message in context: http://r.789695.n4.nabble.com/Rename-output-file-in-Swaeve-and-Tex-tp4633479.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list