Re: [R] \Sweaveopts error

2010-11-28 Thread Duncan Murdoch
On 27/11/2010 8:59 PM, John Maindonald wrote: Actually, I had until I created this file had everything on one line, or had separate \SweaveOpts commands. Putting everything on one line ensures that the graphics file goes to the subdirectory snArt, but the file test1.tex is unchanged. Note

Re: [R] \Sweaveopts error

2010-11-27 Thread John Maindonald
Actually, I spoke too soon. The files process without obvious error, but keep.source=TRUE is ignored. I have posted small files test1.Rnw and test2.Rnw that can be used to demonstrate the problems at: http://wwwmaths.anu.edu.au/~johnm/r/issues/ Sweave(test1) ## includes SweaveOpts

Re: [R] \Sweaveopts error

2010-11-27 Thread Duncan Murdoch
On 27/11/2010 7:57 PM, John Maindonald wrote: Actually, I spoke too soon. The files process without obvious error, but keep.source=TRUE is ignored. I have posted small files test1.Rnw and test2.Rnw that can be used to demonstrate the problems at: http://wwwmaths.anu.edu.au/~johnm/r/issues/

Re: [R] \Sweaveopts error

2010-11-27 Thread Duncan Murdoch
On 27/11/2010 7:57 PM, John Maindonald wrote: Actually, I spoke too soon. The files process without obvious error, but keep.source=TRUE is ignored. I have posted small files test1.Rnw and test2.Rnw that can be used to demonstrate the problems at: http://wwwmaths.anu.edu.au/~johnm/r/issues/

Re: [R] \Sweaveopts error

2010-11-27 Thread John Maindonald
Actually, I had until I created this file had everything on one line, or had separate \SweaveOpts commands. Putting everything on one line ensures that the graphics file goes to the subdirectory snArt, but the file test1.tex is unchanged. Note however the difference between the files test1.tex

[R] \Sweaveopts error

2010-11-25 Thread John Maindonald
I have a file 4lmetc.Rnw, intended for inclusion in a LaTeX document, that starts: \SweaveOpts{engine=R, keep.source=TRUE} \SweaveOpts{eps=FALSE, prefix.string=snArt/4lmetc} The attempt to process the file through Sweave generates the error: Sweave(4lmetc) Writing to file 4lmetc.tex Processing

Re: [R] \Sweaveopts error

2010-11-25 Thread Duncan Murdoch
On 25/11/2010 6:34 AM, John Maindonald wrote: I have a file 4lmetc.Rnw, intended for inclusion in a LaTeX document, that starts: I think this may have been fixed in the patched version. Could you give it a try to confirm? If not, please send me a simplified version of the file, and I'll

Re: [R] \Sweaveopts error

2010-11-25 Thread John Maindonald
Yes, that has fixed the problem. (2010-11-24 r53659) Thanks. John Maindonald email: john.maindon...@anu.edu.au phone : +61 2 (6125)3473fax : +61 2(6125)5549 Centre for Mathematics Its Applications, Room 1194, John Dedman Mathematical Sciences Building (Building 27) Australian