[R-SIG-Mac] Using X11 from the mac terminal

Duncan Murdoch murdoch.duncan at gmail.com
Tue Jun 7 03:10:44 CEST 2011


On 11-06-06 6:56 PM, Hadley Wickham wrote:
>> X11()
> Error in X11(d$display, d$width, d$height, d$pointsize, d$gamma,
> d$colortype,  :
>    unable to start device X11
> In addition: Warning message:
> In X11() : unable to open connection to X11 display ''
>
> What am I doing wrong?  X11 is open, and I have
>
>> Sys.getenv("DISPLAY")
> [1] "0.0.0.0:0"
>
> I'm sure this used to work, but something has changed in the last few
> months.  Any ideas?

I'm on a Mac right now that works, but it shows

 > X11()
 > Sys.getenv("DISPLAY")
[1] "/tmp/launch-OjzUQo/org.x:0"

Duncan Murdoch



More information about the R-SIG-Mac mailing list