>>>>> On Sun, 12 Jan 2003 06:03:41 +0100,
>>>>> Serguei  (S) wrote:

  > Is it any way?
  > This code doesn't work:
  > %%%%%%%%%%%%%%%
  > \multido{}{10}{
  > <<fig=T>>=
  > ...
  > @
  > }


\multido{}{10}{
<<fig=T,echo=F>>=
plot(1:10)
@ 
}


works while the samle with "echo=T" does not ... seems like multido
cannot hande verbatim enveronments, but that's hardly Sweave's fault.


> %%%%%%%%%%%%%%%
  > Or:
  > %%%%%%%%%%%%%%%
  > <<1, fig=T>>=
  > ...
  > @
  > <<>>=
  > <<1>>
  > @
  > %%%%%%%%%%%%%%%

what is that supposed to do? if you want a figure also resulting from
the second chunk you need

<<1, fig=T>>=
...
@
<<fig=T>>=
<<1>>
@

or

\SweaveOpts{fig=T}

<<1>>=
...
@
<<fig=T>>=
<<1>>
@



Hope this helps,

-- 
-------------------------------------------------------------------
                        Friedrich  Leisch 
Institut f�r Statistik                     Tel: (+43 1) 58801 10715
Technische Universit�t Wien                Fax: (+43 1) 58801 10798
Wiedner Hauptstra�e 8-10/1071      [EMAIL PROTECTED]
A-1040 Wien, Austria             http://www.ci.tuwien.ac.at/~leisch
-------------------------------------------------------------------

______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to