using Sweave with a master file that has several iputted .tex files
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 single chapter is cached unless the source file changes and so one can see the results of changes to one source file almost immediately. bw Mark 2009/1/28 Christopher W. Ryan <cryan at binghamton.edu>:
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.
--Chris
Christopher W. Ryan, MD
SUNY Upstate Medical University Clinical Campus at Binghamton
40 Arch Street, Johnson City, NY 13790
cryanatbinghamtondotedu
PGP public keys available at http://home.stny.rr.com/ryancw/
"If you want to build a ship, don't drum up the men to gather wood,
divide the work and give orders. Instead, teach them to yearn for the
vast and endless sea." [Antoine de St. Exupery]
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
http://forums.cirad.fr/logiciel-R/viewtopic.php?t=1554 .
Renaud
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK