Re: [R] How to set directory Rscript runs in/Sweave output directory

2008-07-27 Thread Prof Brian Ripley
On Mon, 28 Jul 2008, [EMAIL PROTECTED] wrote: Hello I am using Sweave to generate some pdf reports using R on a Windows platform and would like to control the output directory that the generated .tex file goes to. Basically I use the following commands in a batch file: set outdir=c:/output/12

[R] How to set directory Rscript runs in/Sweave output directory

2008-07-27 Thread Paul.Rustomji
Hello I am using Sweave to generate some pdf reports using R on a Windows platform and would like to control the output directory that the generated .tex file goes to. Basically I use the following commands in a batch file: set outdir=c:/output/1234 Rscript -e Sweave('C:/pathpathpath/script.Rn