[R] JPEG library wierdness

Tim Hoar thoar at cgd.ucar.edu
Tue Apr 30 19:38:39 CEST 2002


I am having a problem creating JPEG's ... but just lately

I had 1.3.1 installed properly on a Solaris 2.6 platform and everything
was working fine UNTIL last Wednesday, when I issued the fateful
update.packages()
and went to lunch.

When I came back, one of my cohorts informed me he could no longer
create jpeg's in the fashion he was accustomed:

> X11()
> plot(1:10)
> dev.print(jpeg, file="~/test.jpg")
Wrong JPEG library version: library is 61, caller expects 62X11
  2
>

I have been unable to track down the offending library (in hopes of
reinstalling the previous version) and nothing I have found mentions any
sort of dependency for a newer version of the jpeg library.

To make matters worse ... I built 1.5.0 on the same Solaris 2.6 system
last night ... and it has the same behaviour.

Any help?


More hints (this time with png):

> dev.print(png, file="~/test.png")

creates a bad (short) png file ...

> png()
> plot(1:10)
> dev.off()
null device
          1
> plot(1:10)
> dev.print(png,file="test.png")
X11
  2
> dev.off()
null device
          1

results in two very different files:

-rw-r--r--   1 thoar    cgdcas      1804 Apr 30 11:34 Rplot.png
-rw-r--r--   1 thoar    cgdcas        92 Apr 30 11:35 test.png

Sincerely -- Tim

## Tim Hoar, Associate Scientist              email: thoar at ucar.edu     ##
## Geophysical Statistics Project             phone: 303-497-1708       ##
## National Center for Atmospheric Research   FAX  : 303-497-1333       ##
## Boulder, CO  80307                    http://www.cgd.ucar.edu/~thoar ##

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