Skip to content

x11() not working

3 messages · Kieran Healy, Thomas Lumley

#
Hi -

I'm running R 1.7.0 under Mac OS 10.2.6. I normally use Enrico
Franconi's Enhanced Carbon Emacs version (21.3.50) and ESS 5.1.24. With
Apple's X11 Beta 3 running, I can't get an x11 window to open when
running R under ESS or in a regular terminal window. If I launch R from
an xterm, then x11() works fine.

When I try to x11() from a terminal or inside emacs, I get the 
following error:

 > x11()
Error in X11(display, width, height, pointsize, gamma, colortype, 
maxcubesize,  :
         unable to start device X11
In addition: Warning message:
unable to open connection to X11 display`'

This was working until recently -- I thought I might have somehow lost 
the
functionality when I installed Jan de Leeuw's R dmg file. But a
recompiled R running in a local directory shows the same problem.

Any idea what I might have done wrong here?

Kieran

--
Kieran Healy, http://www.u.arizona.edu/~kjhealy
Asst Professor, Sociology Dept, University of Arizona.
#
On Tue, 10 Jun 2003, Kieran Healy wrote:

            
I use
 x11(display=":0")

inside ESS.


	-thomas
#
D'oh. Yes, that works of course. Should have thought of that myself.
Thanks very much. 

Kieran
On Tue, 2003-06-10 at 15:28, Thomas Lumley wrote: