Skip to content
Prev 274616 / 398506 Next

Portrait and Lanscape PDF in the one document

PDF does not know about portrait/landscape: that is really an issue 
about whether the MediaBox is taller than it is wide.  pdf()'s 
arguments only set the MediaBox (and where relative to the origin the 
'ink' is placed)

Note that the orientation of the text on the page does not help: 
typically R graphs have text in both orientations.

Just use pdf() to produce files for individual pages with the overall 
sizes you want (before rotation), and combine them in your favourite 
PDF tools, e.g. Acrobat, ConTeXt, ....
On Mon, 17 Oct 2011, Philip Rhoades wrote: