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

Ben Madin lists at remoteinformation.com.au
Tue Jun 7 04:07:14 CEST 2011


Hadley,

I get the same result as Duncan, sessionInfo() attached:

> X11()
> Sys.getenv("DISPLAY")
[1] "/tmp/launch-00BR0w/org.x:0"
> sessionInfo()
R version 2.13.0 Patched (2011-05-26 r55996)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

locale:
[1] en_AU.UTF-8/en_AU.UTF-8/C/C/en_AU.UTF-8/en_AU.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

And X11 

XQuartz 2.3.6 (xorg-server 1.4.2-apple56)


cheers

Ben






On 07/06/2011, at 9:10 AM, Duncan Murdoch wrote:

> 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
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list