[R] jpeg device

Prof Brian D Ripley ripley at stats.ox.ac.uk
Mon Nov 5 12:46:03 CET 2001


On Mon, 5 Nov 2001, Patrick Gonin wrote:

> Dear R colleagues,
>
> Could someone please help me to have the jpeg/png device work ?

You need to configure R to make use of png/jpeg.  If configure did not find
them, they are marked as unsupported.

> When I try the jpeg device, here's the error I get:
>
> "jpeg(filename="test.jpg",width=480,height=480)
> Error in X11(paste("jpeg::", quality, ":", filename, sep = ""), width,  :
>         unable to start device JPEG
> In addition: Warning message:
> No jpeg support in this version of R "
>
> While ?Devices shows jpeg and png as available.

Yes, they are available, but they are disabled.

> R.Version(): 1.3.0 built under "sparc-sun-solaris2.6"

Works for me on Solaris 2.7.

I suggest you start again with R 1.3.1 and look carefully at the configure
output.

-- 
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