[R] Sweave

Gregory BENMENZER gregory.benmenzer at gazdefrance.com
Tue Apr 22 17:15:40 CEST 2003


hello,

I use Sweave and I'd want to plot severall graphics with a loop.

For example,

\begin{figure}
<<fig=TRUE>>
for (i in 1:10) plot(rnorm(100)+i)
@
\end{figure}

When I do that, all graphics are plotted on the same figure and I'd want
Sweave plotted 10 differents figures !

Could you help me  ?

Best regard,

Grégory Benmenzer



More information about the R-help mailing list