[R] X11 PNG Error

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Dec 29 12:01:19 CET 2008


1) Please follow the posting guide: a later version of R will solve this.

2) Please read ?png in the version you have: it describes how you need 
write access on a running X server, and how to use Xvfb to get this if 
neccessary.

On Mon, 29 Dec 2008, Harsh wrote:

> Hi All,
> I am running R 2.6.0 on an Ubuntu 8.04 with Rserve on a machine.

The current version is 2.8.1.

> I send R commands from a Windows computer to the R machine  and a few
> commands require the creation of plots on png devices.
>
> I often get the following error:
> Error in X11(paste("png::", filename, sep = ""), width, height, pointsize,  :
>  unable to start device PNG
>
> I've solved this error at times by restarting Rserve. But it seems to
> crop up frequently. I've installed the libpng libraries on Ubuntu but
> to no avail.
>
> Any help in this regard will be highly appreciated.
>
> Regards
> Harsh Singhal
> Mu Sigma Decision Systems Inc.
>
> ______________________________________________
> 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