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:
People, I want to create a multi-page PDF doc and the pdf command works fine if I only use Portrait OR Landscape but how do I create a document that contains BOTH sorts of pages? Is it possible? - I couldn't find info about it. Thanks, Phil. -- Philip Rhoades GPO Box 3411 Sydney NSW 2001 Australia E-mail: phil at pricom.com.au
______________________________________________ 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.
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595