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
On 4/8/08, Katell HAMON <Katell.Hamon at ifremer.fr> wrote:> 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?Use a suitable graphics device: e.g., see ?png and ?pdf -Deepayan