X11 problem
1
0
Entering edit mode
@denrique-escobar-espinoza-1303
Last seen 10.2 years ago
i m running R in a fedora core 5 x86 server wothout X11 service. X11 is the default device for R So when I m drawing png images, I receive this error output >>>>>>>>>>>>>>> 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 '' Execution halted >>>>>>>>>>>>>>>> How can I do for drawing png without starting X11 which isn installed in my server? -------------------------------------------------- D.Enrique ESCOBAR ESPINOZA (DESS Bioinfomatique B.Sc. Biologie Moleculaire Certificat Informatique) http://adn.bioinfo.uqam.ca/~escd07097301/ http://spaces.msn.com/members/escobarebio/ ICQ#: 201778618 ------------------------------------------------- Tel: (514) 690-8398 Montreal QC Canada
• 1.9k views
ADD COMMENT
0
Entering edit mode
Seth Falcon ★ 7.4k
@seth-falcon-992
Last seen 10.2 years ago
"D.Enrique ESCOBAR ESPINOZA" <escobarebio at="" yahoo.com=""> writes: > i m running R in a fedora core 5 x86 server wothout > X11 service. > X11 is the default device for R > So when I m drawing png images, > I receive this error output >>>>>>>>>>>>>>>> > 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 '' > Execution halted >>>>>>>>>>>>>>>>> > How can I do for drawing png without starting X11 which isn installed > in my server? I'm not sure. I've encountered similar issues when using R remotely via ssh and no X11 forwarding. One would think png is independent from X11, but it may not be. This is a question for R-help, not Bioconductor. There are likely to be folks there that know the answer. Bw, + seth
ADD COMMENT
0
Entering edit mode
On Thursday 07 September 2006 10:59, Seth Falcon wrote: > "D.Enrique ESCOBAR ESPINOZA" <escobarebio at="" yahoo.com=""> writes: > > i m running R in a fedora core 5 x86 server wothout > > X11 service. > > X11 is the default device for R > > So when I m drawing png images, > > I receive this error output > > > > 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 '' > > Execution halted > > > > How can I do for drawing png without starting X11 which isn installed > > in my server? > > I'm not sure. I've encountered similar issues when using R remotely > via ssh and no X11 forwarding. One would think png is independent > from X11, but it may not be. > > This is a question for R-help, not Bioconductor. There are likely to > be folks there that know the answer. Just to save the trouble, this is an R FAQ (well, not exactly, but I think it will answer the question at least partially): http://cran.r-project.org/doc/manuals/R-FAQ.html#How-do-I-produce-PNG- graphics-in-batch-mode_003f Sean
ADD REPLY
0
Entering edit mode
This came up on a thread recently regarding the OS X operating system where the exact same error message occurred. You need to install X11R6 or X11R7 on fedora to allow R to interface with X11 and produce X11, png, or jpeg graphics. After installing X11R6/7 I would then build R from source again. For OS X if you install the latest binary (2-3-1.dmg), it will give the same error unless you also install the specific package X11User.pkg AND make sure it is running concurrently with R. For new R users using OS X, X11User.pkg is on the original installation disks, you have to search for and install it. The Apple downloads portal provides a version which will *not* work for OS version 10.4 (tiger). http://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html#X11-window- server-_002 8optional_0029 You may also need to set the environment variable for DISPLAY to ":0" with; Sys.putenv(DISPLAY = ":0") This seems to be handled in the R function X11 itself for OS X; X11 <- function (display = "", width = 7, height = 7, pointsize = 12, gamma = getOption("gamma"), colortype = getOption("X11colortype"), maxcubesize = 256, bg = "transparent", canvas = "white", fonts = getOption("X11fonts"), xpos = NA, ypos = NA) { if (display == "" && .Platform$GUI == "AQUA" && Sys.getenv("DISPLAY") == "") Sys.putenv(DISPLAY = ":0") # <- for AQUA Marcus On 9/8/06 2:59 AM, "Seth Falcon" <sfalcon at="" fhcrc.org=""> wrote: > "D.Enrique ESCOBAR ESPINOZA" <escobarebio at="" yahoo.com=""> writes: > >> i m running R in a fedora core 5 x86 server wothout >> X11 service. >> X11 is the default device for R >> So when I m drawing png images, >> I receive this error output >>>>>>>>>>>> >> 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 '' >> Execution halted >>>>>>>>>>>> >> How can I do for drawing png without starting X11 which isn installed >> in my server? > > I'm not sure. I've encountered similar issues when using R remotely > via ssh and no X11 forwarding. One would think png is independent > from X11, but it may not be. > > This is a question for R-help, not Bioconductor. There are likely to > be folks there that know the answer. > > Bw, > > + seth > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor ______________________________________________________ The contents of this e-mail are privileged and/or confidenti...{{dropped}}
ADD REPLY

Login before adding your answer.

Traffic: 563 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6