[R] png device on Solaris
Li Dongfeng
ldf at statms.stat.pku.edu.cn
Thu Aug 24 01:13:43 CEST 2000
Thank you very much for your directions.
You are always vey generous in offering your help.
The ghostscrip+bitmap() already work for me.
Since I use R to publish dynamic simulation results
to the web, so avoiding a call to another program
(i.e., ghostscript) will give better performance.
Further questions: I already have libpng and zlib,
jpeg lib installed, when I look at the R 1.1.0 configure
scripts help, I didn't see any mention of
--with-libpng=, --with-zlib= options. And there are no further
documents. Are these only in 1.1.1?
----- Original Message -----
From: Prof Brian D Ripley <ripley at stats.ox.ac.uk>
To: Li Dongfeng <ldf at statms.stat.pku.edu.cn>
Cc: <r-help at stat.math.ethz.ch>
Sent: Wednesday, August 23, 2000 1:56 PM
Subject: Re: [R] png device on Solaris
> 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