[R] gridExtra with cairodevie and ggplots

Justin Haynes jtor14 at gmail.com
Tue Jun 14 22:39:14 CEST 2011


I apologise in advance for not providing code, but this seems like a
straight forward question...

I am making a few full page plots some of which are "portrait" and
some of which are "landscape"

I would like to open my cairo device once and put all the plots in the
same .pdf.  But since some
need to be rotated to fit the cairo device dimensions, is there a
simple parameter to arrangeGrob
(im using grid.arrange to generate the final plot) that will rotate
the entire output 90 degrees so all
my pages can be the same direction?


Thanks,
Justin



More information about the R-help mailing list