[R] save multiple pages lattice-plot

Katell HAMON Katell.Hamon at ifremer.fr
Tue Apr 8 17:43:02 CEST 2008


Dear R-helper,

I am trying to save some plots I made with lattice, but I have several 
pages printed for each call.

My layout is something like c(col=2,row=4,pages=12) and I didn't find a 
way to save those plots, because I am usually using savePlot() which 
from what I saw can only save one page/device a the time.

Is there an easy way to save all the plots? or should I use a loop and 
cut my dataframe along my conditioning variables to make different calls 
and then save 1 page per call?

Thanks for your help,

Katell
-- 
Katell HAMON

Doctorante / PhD student

IFREMER-Brest
Departement d'économie maritime / Marine Economics Department
Technopole Brest Iroise
B.P. 70
29280 Plouzané
France



More information about the R-help mailing list