Re: [R] Clearing graphics history (Windows)

About this list Date view Thread view Subject view Author view Attachment view

From: ripley@stats.ox.ac.uk
Date: Wed 25 Dec 2002 - 04:52:40 EST


Message-id: <Pine.LNX.4.31.0212241743590.24787-100000@gannet.stats>

On Tue, 24 Dec 2002, Mike Prager wrote:

> Either I am being especially absent-minded today, or setting .SavedPlots
> <- NULL does not work as expected. Am I missing something, or should I
> send this to R-bugs?

Well, first you have to establish that there *is* a bug in R rather than
in your expectations. All the clear menu does is

    gsetVar(install(".SavedPlots"), R_NilValue, R_NilValue);

which sets .SavedPlots to NULL in base. So you may need

> assign(".SavedPlots", NULL, "package:base")

You are missing reading src/gnuwin32/devga.c: I was being far too kind in
reading it for you.

-- 
Brian D. Ripley,                  ripley@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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ R-help@stat.math.ethz.ch mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jun 2004 - 09:31:59 EST