Re: [R] odfWeave: in multi-page plots only last page appears in document

2008-04-14 Thread Kuhn, Max
-Original Message- From: Sarah Goslee [mailto:[EMAIL PROTECTED] Sent: Monday, April 14, 2008 2:32 PM To: Tobias Sing Cc: r-help; Kuhn, Max Subject: Re: [R] odfWeave: in multi-page plots only last page appears in document If you ran that code outside ODFWeave, you'd only get one plot, so why woul

Re: [R] odfWeave: in multi-page plots only last page appears in document

2008-04-14 Thread Tobias Sing
Sarah, thanks for your reply. On Mon, Apr 14, 2008 at 8:32 PM, Sarah Goslee <[EMAIL PROTECTED]> wrote: > If you ran that code outside ODFWeave, you'd only get one plot, > so why would you expect to get more within ODFWeave? No, it depends on the device that is used. If I use PDF or postscript th

Re: [R] odfWeave: in multi-page plots only last page appears in document

2008-04-14 Thread Sarah Goslee
If you ran that code outside ODFWeave, you'd only get one plot, so why would you expect to get more within ODFWeave? for (i in 1:3) { > plot(1,1, main=paste('Plot',i)) > } You need to add some sort of par() command, or use layout(), to create a single plot that contains all three of the plot

[R] odfWeave: in multi-page plots only last page appears in document

2008-04-14 Thread Tobias Sing
Dear all, Max, first of all, many thanks for providing the odfWeave package. My problem: Whenever I have multiple plots in one single chunk of my ODF file, only the last plot gets shown. The problem can be reproduced with this toy example (to be used in an ODF file together with odfWeave -- I'm u