[Rd] Multiple macintosh() graphics devices (PR#1318)

d.orme@ic.ac.uk d.orme@ic.ac.uk
Wed, 20 Feb 2002 16:41:29 +0100 (MET)

Full_Name: David Orme
Version: 1.4.0
OS: Mac OS 9.1
Submission from: (NULL) (

 R crashes (politely and without further repercussions) with a type 3 error
under the following conditions:

Open more than one macintosh() graphics device:
> macintosh()
> macintosh()

and hence there are two devices...
> dev.list()
Macintosh Macintosh 
        2         3 
..with device 3 active.

Selecting device 2 with the mouse brings that device window to the front but
does not make it active - although the device name in the window title bar
flickers briefly to active and then back to inactive. Closing the inactive
device (2) by mouse clicking on the close box causes the crash - I've replicated
this six or seven times successively on my G3.

Using dev.off(2) behaves as expected.

r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch