[Rd] trellis.device in .First (PR#6812)

dmurdoch at pair.com dmurdoch at pair.com
Fri Apr 23 02:31:53 CEST 2004


On Fri, 23 Apr 2004 01:29:18 +0200 (CEST), rmh at temple.edu wrote:

>1. The new one.
>
>When I include
> trellis.device()
>in my .First, Rterm 1.8.1 run in ESS happily opens a device.
>
>Rterm 1.9.0 doesn't.  It gives the following message instead:
>
>>   [Previously saved workspace restored]
>>   
>>   Error in get(x, envir, mode, inherits) : variable "windows" was not found

Sounds like lattice needs to import windows.  (In 1.8.1 windows() was
in base, so it would have automatically been available in .First.)

>2. The old one.
>
>When no device has been opened, then q() cleanly closes R.
>When a graphics device has been opened, and either is still open or was
>manually closed, then q() hangs.  I need to kill it from the Windows Task
>Manager.

I don't see this.  Which device?  Does it happen if if you start R
with the --vanilla option?

Duncan Murdoch



More information about the R-devel mailing list