[R-SIG-Mac] Intel Mac specific bug

Jun Tan jtan at stat.wvu.edu
Thu Sep 28 22:20:40 CEST 2006


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.

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.

Jun



More information about the R-SIG-Mac mailing list