[R] \include-mechanism in Sweave?

Tobias Verbeke tobias.verbeke at businessdecision.com
Fri Jun 29 11:54:09 CEST 2007


Dietrich Trenkler wrote:
> Dear HelpeRs,
> 
> I'm very fond of Sweave and I use it as often as possible.  It'a a pity
> I can't use it for larger projects or can I?
> 
> For instance suppose I have three files file1.rnw, file2.rnw and
> file3.rnw with Sweave code.  Working on file2.rnw I whould like to
> exclude file1.rnw and file3.rnw temporarily and joining all of them
> later.  This amounts to a mechanism similar to using LaTeX's \include
> command.  *Is* there a way to achieve that?


\SweaveInclude{} lets you do just that.

HTH,
Tobias

-- 

Tobias Verbeke - Consultant
Business & Decision Benelux
Rue de la révolution 8
1000 Brussels - BELGIUM

+32 499 36 33 15
tobias.verbeke at businessdecision.com



More information about the R-help mailing list