Dear Prof Ripley, Many thanks for your response. In fact, latticeExtra and ggplot2 both state they work with "layers", but essentially this is nothing more than sequentially adding graphical output to an existing device.
But given that PDF can include layers since version 1.5 it would be interesting to be able to divert output to different layers inside a PDF structure. Best regards Christoph Scherber Am 20.07.2012 13:48, schrieb Prof Brian Ripley: > On 20/07/12 12:07, Christoph Scherber wrote: >> Dear all, >> >> Is it possible to create a pdf file with layers using the pdf() device in R? > > No. Is it possible to specify layers in the R graphics language or any > device? (From what I understand by 'layers', no.) > > The author of pdf() > >> >> Many thanks for your help! >> Christoph >> >> >> (using R 2.15.1 on Windows 7 64-Bit) > > > -- PD Dr Christoph Scherber Georg-August University Goettingen Department of Crop Science Agroecology Grisebachstrasse 6 D-37077 Goettingen Germany phone 0049 (0)551 39 8807 fax 0049 (0)551 39 8806 http://www.gwdg.de/~cscherb1
______________________________________________ R-help@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.