Question: X11 problem
0
gravatar for D.Enrique ESCOBAR ESPINOZA
13.1 years ago by
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.1k views
ADD COMMENTlink modified 13.1 years ago by Seth Falcon7.4k • written 13.1 years ago by D.Enrique ESCOBAR ESPINOZA360
Answer: X11 problem
0
gravatar for Seth Falcon
13.1 years ago by
Seth Falcon7.4k
Seth Falcon7.4k 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
ADD COMMENTlink written 13.1 years ago by Seth Falcon7.4k
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 REPLYlink written 13.1 years ago by Sean Davis21k
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 REPLYlink written 13.1 years ago by Marcus Davy680
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 315 users visited in the last hour