[R] unable to start device PNG and unable to open connection to X11 display

From: Ng Stanley <stanleyngkl_at_gmail.com>
Date: Mon, 03 Mar 2008 11:17:40 +0800


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. Received on Mon 03 Mar 2008 - 03:20:18 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 03 Mar 2008 - 06:30:17 GMT.

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

list of date sections of archive