[R] How to save multiple graph pages into one postscript file

Prof Brian D Ripley ripley at stats.ox.ac.uk
Thu Feb 14 08:57:22 CET 2002


On Wed, 13 Feb 2002 zeng_li at willis.com wrote:

> Dear R users,
>
> After creating multiple plots in the graph window (saved in the history), I
> would like to create a postscript or PDF file that contains all the plots
> in the history. However, the Save As function only allows saving the
> current plot that is shown in the graph window (although I could view the
> other plots using page-up and page-down). Is what I was trying to do (i.e.
> create multi-page ps or pdf file) a possibility with R?

So this is using a windows() device under Windows?  No other R graphics
device has a plot history.  The history is only supported to the extent of
replaying on the same device in the same session.

Why not just re-run the R commands which created the plots on apostscript(0
or pdf() device?


General comment: this message did not mention the OS, and would make no
sense to people who have not used the history mechanism on a windows()
device.  Could posters please give sufficient context.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list