I cannot generate png files running R2.2.1 on a SunOS 5.9 machine. See below. I did a search on this problem and people who have virtually the same error have solved the problem by installing or updating libpng . We downloaded libpng from Sun but still the problem remains. Does a path within R need to be set to this file or does the problem indicate that libpng was not installed properly? I have no problems running on various Linux OS's or a SunOS 5.8 machine. I appreciate any help on this issue. We are using R2.2.1 David Ziger Synopsys, Inc> x <- c(1,2,3) > y <- c(2,4,6) > plot(x,y) > 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: no png support in this version of R> capabilities(what=NULL)jpeg png tcltk X11 http/ftp sockets libxml fifo FALSE FALSE TRUE TRUE TRUE TRUE TRUE TRUE cledit iconv NLS FALSE FALSE TRUE [[alternative HTML version deleted]]
On Thu, 31 Aug 2006, David Ziger wrote:> I cannot generate png files running R2.2.1 on a SunOS 5.9 machine. See > below. I did a search on this problem and people who have virtually the > same error have solved the problem by installing or updating libpng . > We downloaded libpng from Sun but still the problem remains. Does a path > within R need to be set to this file or does the problem indicate that > libpng was not installed properly? I have no problems running on > various Linux OS's or a SunOS 5.8 machine. I appreciate any help on > this issue. We are using R2.2.1You have to re-configure, re-make and re-install R. While you are at it, why not use a current version of R (as in fact the posting guide asked you to before posting)? [...]> In addition: Warning message: > no png support in this version of RThis is covered in the 'R Installation and Administration' manual. -- 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