search for: loop_n

Displaying 1 result from an estimated 1 matches for "loop_n".

Did you mean: loop_1
2008 Jun 13
4
Sweave: looping over mixed R/LaTeX code
...ut the loop contents in a separate loop.Rnw file, then: 1. run everything before the loop through R for initialization 2. Sweave loop.Rnw; shell("move loop.tex loop_1.tex") Sweave loop.Rnw; shell("move loop.tex loop_2.tex") ... Sweave loop.Rnw; shell("move loop.tex loop_n.tex") 3. \input all loop_i.tex files into master.Rnw and Sweave master.Rnw This does what I need, however, it is a major pain code-wise, e.g., there appears to be no way to control the loop during execution (n must be known in advance), and I need to control all graphics using \includegraphic...