[R] R graph window
Mike Prager
mike.prager at noaa.gov
Tue Nov 27 22:59:42 CET 2007
Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
> > I am using R 2.6.0 on Windows XP.
> > I am wondering if R can show multiple graph at the same graph window with different tabs at the bottom of the window, like in S-plus.
> > Does anybody have experience on this?
> >
> No, it can't. If you turn history recording on (see the History menu
> entry when the graphics window has the focus), then R will save the
> plots and PgUp/PgDn will scroll through them.
To enable that, I usually begin an R script:
graphics.off()
.SavedPlots <- NULL # Deletes any existing plot history
windows(record = TRUE, ...)
You might also be interested in the savePlot function, well
described in the R help files.
--
Mike Prager, NOAA, Beaufort, NC
* Opinions expressed are personal and not represented otherwise.
* Any use of tradenames does not constitute a NOAA endorsement.
More information about the R-help
mailing list