[R] lattice layout multiple pages

Patrick Giraudoux patrick.giraudoux at univ-fcomte.fr
Sat Nov 18 19:15:34 CET 2006


Dear all,

Using  lattice I would like to print a conditionnal plot of 32 panels in 
a limited number of panels (eg 4) in each of several pages:

xyplot(pds~time|Idnid,data=croispond3,layout=c(4,4))

This works well in principle, but the pages are printed without any 
possibility of stopping  the printing process before each next page. I 
have tried  par(ask=T) before the xyplot command line but it does not 
work for some reasons.

Also I would like to print those pages to a device (eg using  
win.metafile(filename = "myfile")), but I wonder how to manage not to 
make each page file created overwritten by the next one in this context.

Thanks in advance for any hint,

Patrick



More information about the R-help mailing list