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

From: Tobias Sing <tobias.sing_at_gmail.com>
Date: Mon, 14 Apr 2008 20:20:49 +0200

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 using the newest version 0.7.3):

<<plot1, echo=FALSE, fig=TRUE>>=
for (i in 1:3) {

    plot(1,1, main=paste('Plot',i))

I thought the solution (I hope there is one) might be found with setImageDefs (e.g. by setting type and/or device to postscript and working with the 'onefile' argument) , but I couldn't solve the problem. So maybe this is not the right idea for a solution. In any case, here is my current getImageDefs:

> getImageDefs()

[1] "png"


[1] "png"


[1] 480


[1] 480


[1] 5


[1] 5



Any help appreciated.
Kind regards,

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 14 Apr 2008 - 18:25:18 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 14 Apr 2008 - 19:30:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive