[R-SIG-Mac] Intel Mac specific bug

Simon Urbanek simon.urbanek at r-project.org
Thu Sep 28 23:46:40 CEST 2006


On Sep 28, 2006, at 4:20 PM, Jun Tan wrote:

> I had difficulties in using jpeg device under Intel Mac. Is there
> anybody has the solution yet? Here is the code to demo the error:
>
> x <- rnorm(100)
> jpeg(file="test.jpg")
> hist(x)
> dev.off()
>
> And then a pop-up window with the following message show up: JPEG
> parameter struct mismatch: library think the size is 372, caller
> expects 376.
>

This has been discussed and fixed
http://www.mail-archive.com/r-devel@r-project.org/msg05678.html

Cheers,
Simon


> The same code works fine under powerpc based mac.
>
> BTW, the R I used is 2.3.1. I am not sure if this happens on any  
> older version of R or not.



More information about the R-SIG-Mac mailing list