[Rd] (PR#10379) Re: x11(....) kills R without DISPLAY

From: Hin-Tak Leung <hin-tak.leung_at_cimr.cam.ac.uk>
Date: Sat, 27 Oct 2007 01:35:30 +0100

Peter Dalgaard wrote:

> brechbuehler_at_gmail.com wrote:

>> Full_Name: Christian Brechbuehler
>> Version: 2.4.1, 2.5.1,
>> OS: Ubuntu GNU/Linux
>> Submission from: (NULL) (24.61.47.236)
>>
>>
<snipped>
>> Example (start R without DISPLAY from bash):
>> % DISPLAY= R
>> > x11("localhost:11.0") # this is my valid DISPLAY
>> Error: Couldn't find per display information
>> %
<snipped>
>>

> I see this on Fedora 7 too. I suspect that the earlier report was > thought to be Mac specific.
<snipped>

I was experimenting with xvfb last week and didn't see the catatrophic problem like that, so I tried again. Is it possible that this has already been fixed in R 2.6.0 ? (I am on fedora 7, x86_64 as well).



$ export -n DISPLAY

$ R
R version 2.6.0 (2007-10-03)
...
 > x11()
Error in X11(display, width, height, pointsize, if (is.null(gamma)) 1 else gamma, :

   unable to start device X11
In addition: Warning message:
In x11() : unable to open connection to X11 display ''  > q()
Save workspace image? [y/n/c]: n
$ export DISPLAY=
$ R
R version 2.6.0 (2007-10-03)
...
 > x11()
Error in X11(display, width, height, pointsize, if (is.null(gamma)) 1 else gamma, :

   unable to start device X11
In addition: Warning message:
In x11() : unable to open connection to X11 display ''  > q()
Save workspace image? [y/n/c]: n



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat 27 Oct 2007 - 00:39:48 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 30 Oct 2007 - 03:46:12 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.