[Rd] JPEG struct mismatch on Intel Macs (PR#9209)

spector at stat.berkeley.edu spector at stat.berkeley.edu
Wed Sep 6 18:02:31 CEST 2006

Full_Name: Phil Spector
Version: 2.3.1
OS: Mac OS X (Tiger)
Submission from: (NULL) (

Trying to close a jpeg() device on an Intel Mac causes the following:

> jpeg('out.jpg')
> plot(1:10)
> dev.off()
JPEG parameter struct mismatch: library thinks size is 372, caller expects 376
null device

An empty jpg file is produced in 'out.jpg'                                      

                                                   - Phil Spector
                                                     Statistical Computing
                                                     Department of Statistics
                                                     UC Berkeley

More information about the R-devel mailing list