Re: [R] connection to X11 problem
(Ted Harding) [EMAIL PROTECTED] writes: On 21-Jul-06 Paquet, Agnes wrote: 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. Like Marc, I don't use a Mac either. But the underlying BSD OS is basically similar to Linux. On Linux, my primary X11 DISPLAY envvar would be :0.0, so (at a guess) I suggest you try Sys.putenv(DISPLAY=:0.0) Hoping this helps! Ted. A silly question must be asked: One thing is *installing* the X11 package on a Mac, but you do need to be actually *running* an X server. Are you? -- O__ Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 __ 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.
[R] connection to X11 problem
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.
Re: [R] connection to X11 problem
On Fri, 2006-07-21 at 11:47 -0700, Paquet, Agnes wrote: 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 I don't use a Mac, but the following might be helpful: http://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html#X11-window-server-_0028optional_0029 http://finzi.psych.upenn.edu/R/Rhelp02a/archive/77424.html http://finzi.psych.upenn.edu/R/Rhelp02a/archive/46097.html Also note that there is a R-sig-Mac e-mail list: https://stat.ethz.ch/mailman/listinfo/r-sig-mac HTH, Marc Schwartz __ 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.
Re: [R] connection to X11 problem
On 21-Jul-06 Paquet, Agnes wrote: 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. Like Marc, I don't use a Mac either. But the underlying BSD OS is basically similar to Linux. On Linux, my primary X11 DISPLAY envvar would be :0.0, so (at a guess) I suggest you try Sys.putenv(DISPLAY=:0.0) Hoping this helps! Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 21-Jul-06 Time: 23:34:05 -- XFMail -- __ 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.
Re: [R] connection to X11 problem: problem fixed
Hi, I finally managed to make it work (I just needed to have a X11 window open). Thank you very much for your help. Agnes -Original Message- From: Ted Harding [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 3:34 PM To: Paquet, Agnes Cc: r-help@stat.math.ethz.ch Subject: RE: [R] connection to X11 problem On 21-Jul-06 Paquet, Agnes wrote: 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. Like Marc, I don't use a Mac either. But the underlying BSD OS is basically similar to Linux. On Linux, my primary X11 DISPLAY envvar would be :0.0, so (at a guess) I suggest you try Sys.putenv(DISPLAY=:0.0) Hoping this helps! Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 21-Jul-06 Time: 23:34:05 -- XFMail -- __ 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.