[R] save multiple pages lattice-plot

Deepayan Sarkar deepayan.sarkar at gmail.com
Tue Apr 8 22:57:57 CEST 2008


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



More information about the R-help mailing list