Message-ID: <Pine.LNX.4.31.0212241743590.24787-100000@gannet.stats>
Date: 2002-12-24T18:53:02Z
From: Brian Ripley
Subject: Clearing graphics history (Windows)
In-Reply-To: <5.1.0.14.2.20021224123519.02cb1a98@hermes.nos.noaa.gov>
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 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 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595