Skip to content

Multiple macintosh() graphics devices (PR#1318)

4 messages · d.orme@ic.ac.uk, Thomas Lumley, stefano iacus

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


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

Open more than one macintosh() graphics device:
and hence there are two devices...
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
(I'm actually on OSX and rel 1.4.1 of R but) it is normal that an 
inactive window is not activated by mouse clicking. Mouse clicking put 
only the windows in front of the others (and it is activated as a 
window  but not as a device). To activate the "device" linked to a 
window you can use the menus, for example, once you have put the window 
in front.

I'll investigate what is happening under OS 9.1 because under OSX I 
cannot reproduce the problem.

thanks for spotting this.

stefano
On Mercoledì, febbraio 20, 2002, at 04:41 , d.orme@ic.ac.uk wrote:

            
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Wed, 20 Feb 2002, Stefano Iacus wrote:

            
Another note: it has historically been a bad idea to use the window
manager to destroy an R or S graphical device -- dev.off() has been
strongly recommended.


	-thomas

Thomas Lumley			Asst. Professor, Biostatistics
tlumley@u.washington.edu	University of Washington, Seattle

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
3 days later
#
It has been fixed in R-devel now. Thanks David.
On Mercoledì, febbraio 20, 2002, at 04:41 , d.orme@ic.ac.uk wrote:

            
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._