Duncan Murdoch <[EMAIL PROTECTED]> wrote:

> >> One thing I'd like to do, but didn't have time to implement before
> >> 2.7.0, is to have history set to some finite size, e.g. a default might
> >> be the last 3 or 10 plots.  The problem with record=TRUE is that it
> >> keeps a record of all the plots, so memory use just increases and 
> >> increases.
> > 
> > Why not just startup another device with record=FALSE?
> 
> I'd like to have recording always on, but I don't need an infinite 
> history.  But this isn't urgent enough to have prodded me into writing 
> it before now.

A finite size would be nice.  I've been using this code in
scripts:

graphics.off()
windows(record = TRUE)
.SavedPlots <- NULL

Not exactly the same thing, but it limits memory use.

Are there side effects that could bite me?

-- 
Mike Prager, NOAA, Beaufort, NC
* Opinions expressed are personal and not represented otherwise.
* Any use of tradenames does not constitute a NOAA endorsement.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to