Re: [R] Sweave, R and complex latex projects

2006-11-09 Thread Mark Wardle
All, This is an update to my previous query on dealing with complex (complex in my eyes anyway) LaTeX/Sweave projects. Based on the work of others, please see my current thesis Makefile below. I didn't get Sweave and LaTeX to cope with a master document in one directory, and chapters in

Re: [R] Sweave, R and complex latex projects

2006-10-16 Thread Friedrich Leisch
On Sat, 14 Oct 2006 23:00:27 +0100, Mark Wardle (MW) wrote: Hello all, I've been able to use R very successfully to run simple statistics and generate the plots I require. I've been evaluating Sweave, and have hit upon a small problem that I don't seem to be able to workaround.

Re: [R] Sweave, R and complex latex projects

2006-10-16 Thread Friedrich Leisch
On Sat, 14 Oct 2006 16:04:50 -0700, Deepayan Sarkar (DS) wrote: %.tex: %.Rnw echo library(tools); Sweave('$') | ${R_PROG} --vanilla --silent Note that we now have R CMD Sweave (new in R 2.4.0) for this purpose. Best, Fritz __

Re: [R] Sweave, R and complex latex projects

2006-10-16 Thread Dirk Eddelbuettel
On 16 October 2006 at 11:28, Friedrich Leisch wrote: | On Sat, 14 Oct 2006 16:04:50 -0700, | Deepayan Sarkar (DS) wrote: | | | |%.tex: %.Rnw |echo library(tools); Sweave('$') | ${R_PROG} --vanilla --silent | | Note that we now have R CMD Sweave (new in R 2.4.0) for this

Re: [R] Sweave, R and complex latex projects

2006-10-16 Thread Mark Wardle
Friedrich Leisch wrote: On Sat, 14 Oct 2006 23:00:27 +0100, Mark Wardle (MW) wrote: Hello all, ... Yes, simply set prefix.string to a path, not only a filename. E.g., ... Many thanks for everyone's help on this (both on and off list). Working perfectly now! Now I just need help

[R] Sweave, R and complex latex projects

2006-10-14 Thread Mark Wardle
Hello all, I've been able to use R very successfully to run simple statistics and generate the plots I require. I've been evaluating Sweave, and have hit upon a small problem that I don't seem to be able to workaround. Sweave runs very well for single file latex documents, but I have a complex

Re: [R] Sweave, R and complex latex projects

2006-10-14 Thread Deepayan Sarkar
On 10/14/06, Mark Wardle [EMAIL PROTECTED] wrote: Hello all, I've been able to use R very successfully to run simple statistics and generate the plots I require. I've been evaluating Sweave, and have hit upon a small problem that I don't seem to be able to workaround. Sweave runs very well