I am on Snow Leopard.  As Brian mentions, my DISPLAY variable is set
(to echo $DISPLAY
/tmp/launch-SN2m7Z/org.x:0
), but this is not something I do myself.  I have always thought that
on (newer) OS X, DISPLAY got set automatically.  Not too infrequently
do I use X11 on a remote server and I always login with ssh -Y.

Kasper

On Thu, Oct 6, 2011 at 9:35 AM, Simon Urbanek
<simon.urba...@r-project.org> wrote:
> Are you on Lion? (You failed to mention that crucial detail)
> If so, R cannot detect window session on Lion (the OS says there is none even 
> if there is one) so it must assume that you are using ssh or other tunneling, 
> so if falls back to whatever other device it can use.
>
> Cheers,
> Simon
>
>
> On Oct 5, 2011, at 9:31 PM, John Maindonald wrote:
>
>> When I start up R (or at least 64-bit R) from the command line
>> or from ESS, and plot a graph without first opening a graphics
>> screen window, I get an X11 window.
>>
>> If I type capabilities(), I get:
>>
>>> capabilities()
>>    jpeg      png     tiff    tcltk      X11     aqua http/ftp  sockets
>>    TRUE     TRUE     TRUE     TRUE     TRUE     TRUE     TRUE     TRUE
>>  libxml     fifo   cledit    iconv      NLS  profmem    cairo
>>    TRUE     TRUE    FALSE     TRUE     TRUE     TRUE     TRUE
>>
>> Given that "aqua" is available, why do I not get a quartz window?
>> (I can of course open such a window.)
>>
>>> sessionInfo()
>> R version 2.13.2 (2011-09-30)
>> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>>
>> locale:
>> [1] C
>>
>> attached base packages:
>> [1] stats     graphics  grDevices utils     datasets  methods   base
>>
>> other attached packages:
>> [1] lattice_0.19-33
>>
>> loaded via a namespace (and not attached):
>> [1] grid_2.13.2  tools_2.13.2
>>
>> John Maindonald             email: john.maindon...@anu.edu.au
>> phone : +61 2 (6125)3473    fax  : +61 2(6125)5549
>> Centre for Mathematics & Its Applications, Room 1194,
>> John Dedman Mathematical Sciences Building (Building 27)
>> Australian National University, Canberra ACT 0200.
>> http://www.maths.anu.edu.au/~johnm
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac@r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>>
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to