[R] png device on Solaris

Prof Brian D Ripley ripley at stats.ox.ac.uk
Wed Aug 23 07:56:41 CEST 2000


On Wed, 23 Aug 2000, Li Dongfeng wrote:

> Hi,
> 
>     I compiled R 1.1.0 source on SUN Sparc
> solaric 2.5.1, using gcc 2.95.2.
> I need to use R to publish graphics to the web,
> the NEWS in this version said that there is a new
> png() device on X11(). But when I tried
>   > png()
> I got this error.
>   Error in png() : No png support in this version of R
> 
>   Can anyone tell me how to compile png support
> on solaris/unix? The new bitmap() device already
> does what I need but it requires ghostscript program
> installed.

The `new' device (we are on 1.1.1 now) was developed on Solaris.
You need libpng and zlib installed on your box, and then to re-configure.
There are many, many, ftp sites carrying those: look for
libpng-1.0.8.tar.gz and zlib-1.1.3.tar.gz.

I would suggest you do install ghostscript: it is very useful and
bitmap and png are to some extent complementary ideas.

-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list