Re: [R] Sweave Makefile issue

2009-12-17 Thread Duncan Murdoch
On 17/12/2009 3:19 PM, Luc Villandré wrote: Dear R-specialists, I am trying to create a Makefile that will first convert all my .Rnw files into .tex files and then, that will run the LaTeX compiler to produce a pdf document. This issue has been discussed before. Hence, I've basically adapted

Re: [R] Sweave Makefile issue

2009-12-17 Thread Gray Calhoun
Hi Luc, I haven't been actively participating in this list for that long, so I may be wrong here... but I suspect that debugging makefiles is a bit off topic. Two quick points that might help: You probably want to use "R CMD texi2dvi" on your tex files instead of pdflatex; and you'll probably h

[R] Sweave Makefile issue

2009-12-17 Thread Luc Villandré
Dear R-specialists, I am trying to create a Makefile that will first convert all my .Rnw files into .tex files and then, that will run the LaTeX compiler to produce a pdf document. This issue has been discussed before. Hence, I've basically adapted a Makefile I found at http://n4.nabble.com/R