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

Ross Ihaka (
Mon, 19 Jan 1998 13:56:04 +1300 (NZDT)

Date: Mon, 19 Jan 1998 13:56:04 +1300 (NZDT)
Message-Id: <>
From: Ross Ihaka <>
To: Peter Dalgaard BSA <>
Subject: Re: R-beta: kill R Graphics window->crash R
In-Reply-To: <>

Peter Dalgaard writes:
 > Bill Simpson <> 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
 > 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!....

We just found the magic X incantation to handle the window closing
problem.  Closing a graphics window using the window manager (e.g. by
clicking the close box or with a menu selection) will be equivalent to
using on the underlying device.

As Peter says, there will be some major changes in 0.62 which will see
a big improvement in the graphics system.
r-help mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: