Is your background colour set to transparent? There is no way to erase
screens in the R/S model: all you can do is overpaint with the background.
And the default on-screen background colour is ... transparent.
This described in the Warning (and elsewhere) on the help page.
With a solid background colour it appears to work.
On Mon, 23 Jun 2003, Angelo Canty wrote:
> I'm using R 1.7.1 on a Windows 2K computer. For some reason
erase.screen
> does not seem to be working correctly. That is it does not erase the
> requested screen. That is the old graphic is still visible and any
> subsequent graphics are superimposed over it making them impossible to
> read. What is worse is that they print out this way also. The same
> behaviour happens with a Windows XP computer. I have not yet examined
> this on Unix but will do so tomorrow. Is this a known problem? Is
> there an easy workaround?
--
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