[R] connection to X11 problem

From: Paquet, Agnes <apaquet_at_medsfgh.ucsf.edu>
Date: Sat 22 Jul 2006 - 04:47:53 EST


Dear List,

I am a new Mac user and I am having problem generating png (or jpeg) using the GUI version of R. I installed R-2.3.1.dmg (custom install with everything selected) and X11User.pkg but I am still getting the following X11 connection error when I try to generate a png (or a jpeg):

Error in X11(paste("png::", filename, sep = ""), width, height, pointsize, :

    unable to start device PNG
In addition: Warning message:
unable to open connection to X11 display ''

I tried to set up the DISPLAY variable using the command:

Sys.putenv("DISPLAY"=":0")

but I am still running into the same problem.

Is there anything else I need to do or install in order to use X11? I am using a intel Core Duo processor and OSX 10.4.7.

Thank you for your help,

Agnes



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sat Jul 22 04:56:42 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 22 Jul 2006 - 10:15:14 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.