Re: [R] using Sweave with a master file that has several iputted .tex files

2009-01-28 Thread cameron.bracken
Mark Wardle wrote: Using make means a build for a single chapter is cached unless the source file changes and so one can see the results of changes to one source file almost immediately. The pgfSweave package is specifically designed for speeding up the compilation time in large

[R] using Sweave with a master file that has several iputted .tex files

2009-01-27 Thread Christopher W. Ryan
Suppose I have a Master.Rnw file that looks something like this: \documentclass[12pt]{mypaper} \usepackage[margin=1in]{geometry} \usepackage{setspace} \usepackage{url} \usepackage{indentfirst} \usepackage{fancyhdr} \usepackage{Sweave} \pagestyle{fancy} \lhead{sonographic rectal diameter and

Re: [R] using Sweave with a master file that has several iputted .tex files

2009-01-27 Thread JLucke
Use the include function in LaTeX. Christopher W. Ryan cr...@binghamton.edu Sent by: r-help-boun...@r-project.org 01/27/2009 12:48 PM To r-h...@stat.math.ethz.ch cc Subject [R] using Sweave with a master file that has several iputted .tex files Suppose I have a Master.Rnw file

Re: [R] using Sweave with a master file that has several iputted .tex files

2009-01-27 Thread Duncan Murdoch
On 1/27/2009 12:48 PM, Christopher W. Ryan wrote: Suppose I have a Master.Rnw file that looks something like this: \documentclass[12pt]{mypaper} \usepackage[margin=1in]{geometry} \usepackage{setspace} \usepackage{url} \usepackage{indentfirst} \usepackage{fancyhdr} \usepackage{Sweave}

Re: [R] using Sweave with a master file that has several iputted .tex files

2009-01-27 Thread Renaud Lancelot
What about \Sweaveinput ? \begin{document} This command allows the inclusion of Sweave files: \SweaveInput{file1.Rnw} \SweaveInput{file2.Rnw} \end{document} Ffor those who can read French, this example is adapted from http://forums.cirad.fr/logiciel-R/viewtopic.php?t=1554 . Renaud 2009/1/27

Re: [R] using Sweave with a master file that has several iputted .tex files

2009-01-27 Thread Duncan Murdoch
On 1/27/2009 2:18 PM, Renaud Lancelot wrote: What about \Sweaveinput ? \begin{document} This command allows the inclusion of Sweave files: \SweaveInput{file1.Rnw} \SweaveInput{file2.Rnw} \end{document} Ffor those who can read French, this example is adapted from

Re: [R] using Sweave with a master file that has several iputted .tex files

2009-01-27 Thread Christopher W. Ryan
That's pretty slick! Thanks. It did not like absolute paths (unless I had spelled them out improperly.) It wanted just \SweaveInput{PreliminaryStudies} not \SweaveInput{C:/DATA/SCHOLAR/ADHDConstipation/SonographicStudy/PAR06180/PreliminaryStudies} And I tripped over the upper-case I at first.

Re: [R] using Sweave with a master file that has several iputted .tex files

2009-01-27 Thread Mark Wardle
The benefit of Makefiles is that one is essentially breaking up one project into many smaller projects. My thesis has seven or so real chapters. To build it all takes a few minutes on this laptop - not intolerable but frustrating if one has to do it repeatedly. Using make means a build for a