Ng Stanley
2008-Mar-03 03:17 UTC
[R] unable to start device PNG and unable to open connection to X11 display
Hi, I have installed R on a computational cluster, and am using putty to access R. Please help on how to solve the problem of saving png files.> png(file="myplot.png", bg="transparent")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 '' [[alternative HTML version deleted]]
Prof Brian Ripley
2008-Mar-03 06:09 UTC
[R] unable to start device PNG and unable to open connection to X11 display
Please consult the help page for png. On Mon, 3 Mar 2008, Ng Stanley wrote:> Hi, > > I have installed R on a computational cluster, and am using putty to access > R. Please help on how to solve the problem of saving png files. > >> png(file="myplot.png", bg="transparent") > 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 '' > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org 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. >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595