[ESS] unable to start device X11

Steven McKinney smckinney at bccrc.ca
Wed Sep 10 02:13:36 CEST 2014

Have you tried issuing the quartz() command before your plot?

The R.app software uses the quartz device by default.

R through ESS appears to be trying the X11() device, 
and you may not have all the X11 bits set up.

Steven McKinney

Molecular Oncology and Breast Cancer Program
British Columbia Cancer Research Centre

From: ess-help-bounces at r-project.org [ess-help-bounces at r-project.org] On Behalf Of Vitalie Spinu [spinuvit at gmail.com]
Sent: September 9, 2014 3:59 PM
To: Jonathan Michaels
Cc: ess-help at r-project.org
Subject: Re: [ESS] unable to start device X11

This is unlikely to have anything to do with ESS.

Try M-x shell RET and then R in there and see if you can reproduce the
problem there. Try the same from OS terminal.

Googling for "Error in .External2(C_X11, d$display" give a bunch of
results on different platforms, so it's most likely an R issue.


 >>> Jonathan Michaels on Tue, 9 Sep 2014 18:28:25 -0400 wrote:

 > Hello:
 > I cannot execute any type of plotting command in my new ESS set up.  I am including full details following my problem description.
 > Whenever I try to execute any plotting feature from within Emacs via ESS:
 > plot(x)hist(x)...
 > I receive the following error:
 > Error in .External2(C_X11, d$display, d$width, d$height, d$pointsize,  :   unable to start device X11In addition: Warning message:In (function (display = "", width, height, pointsize, gamma, bg,  :  unable to open connection to X11 display ''
 > Now, when I open the R app directly, all plotting and graphics functions work fine.
 > Macbook pro running OS X 10.9.4R 3.1.1XQuartz 2.7.7ESS 13.09-1Emacs 24.3
 > Can someone please help me figure out what I need to do in order to execute graphics and plotting functionality within ESS?
 >      [[alternative HTML version deleted]]

 > ______________________________________________
 > ESS-help at r-project.org mailing list
 > https://stat.ethz.ch/mailman/listinfo/ess-help

ESS-help at r-project.org mailing list

More information about the ESS-help mailing list