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

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Mar 3 07:09:33 CET 2008


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



More information about the R-help mailing list