From dmurdoch at pair.com  Fri Apr 23 02:31:53 2004
From: dmurdoch at pair.com (dmurdoch@pair.com)
Date: Fri Apr 23 02:31:57 2004
Subject: [Rd] trellis.device in .First (PR#6812)
Message-ID: <20040423003153.B0573FB91@slim.kubism.ku.dk>

On Fri, 23 Apr 2004 01:29:18 +0200 (CEST), rmh@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


[Rd] trellis.device in .First (PR#6812)
dmurdoch@pair.com