Skip to content
Prev 26513 / 63424 Next

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

Peter Dalgaard wrote:
<snipped>
<snipped>
<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