Re: [R] error possibly related to sweave, path, and spaces on windows

2010-08-21 Thread Juliet Hannah
Wow, it works! Thanks Erik. Your suggestion worked. MikTek is indeed in the path, so I just modified the lines to: junk <- system(paste("pdflatex ",latexFiles[i1]), intern=TRUE) On Sat, Aug 21, 2010 at 12:07 PM, Erik Iverson wrote: > On 08/21/2010 11:02 AM, Juliet Hannah wrot

Re: [R] error possibly related to sweave, path, and spaces on windows

2010-08-21 Thread Erik Iverson
On 08/21/2010 11:02 AM, Juliet Hannah wrote: I have downloaded a file that I don't know how to describe correctly. It contains R code and Latex, and I should be able to reproduce an analysis by running an R script in this folder. There is a line in the R script: junk<- system(paste("/usr/tex

[R] error possibly related to sweave, path, and spaces on windows

2010-08-21 Thread Juliet Hannah
I have downloaded a file that I don't know how to describe correctly. It contains R code and Latex, and I should be able to reproduce an analysis by running an R script in this folder. There is a line in the R script: junk <- system(paste("/usr/texbin/pdflatex ",latexFiles[i1]),