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

Hin-Tak Leung hin-tak.leung at cimr.cam.ac.uk
Sat Oct 27 02:35:30 CEST 2007


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



More information about the R-devel mailing list