Re: R-beta: kill R Graphics window->crash R

Peter Dalgaard BSA (p.dalgaard@biostat.ku.dk)
16 Jan 1998 23:58:08 +0100


To: Bill Simpson <wsimpson@uwinnipeg.ca>
Subject: Re: R-beta: kill R Graphics window->crash R
From: Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk>
Date: 16 Jan 1998 23:58:08 +0100
In-Reply-To: Bill Simpson's message of Fri, 16 Jan 1998 15:32:45 -0600 (CST)

Bill Simpson <wsimpson@uwinnipeg.ca> writes:

> 
> I am running  R-0.61.1 on linux under X. If I kill the R Graphics window
> (click on X box in upper right corner), then subsequently do x11(),
> R crashes.
....
> I was wondering if maybe it could be arranged that closing the graphics
> window via click would seem to R to be equivalent to typing dev.off().

I wouldn't think so, but the X calls should probably be fixed to do
the necessary cleaning up when the window has disappeared. Dying of a
SIGPIPE is certainly not elegant...

However, there's some extensive graphics changes coming up in 0.62, so
it's hardly worth it to try and fix it in the 0.61 series. Till then:
Just don't do that!....

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._