Skip to content
Prev 28996 / 63424 Next

image (PR#11493)

Sorry for lack of clarity in my original message but I'm new to this  
list and I couldn't find away to upload images.

I am running Mac OS 10.5.2, R 2.7.0
The problem arrises when using anything that depends upon image()  
using the Quartz() device. This sounds very much like what you are  
describing with the background showing through (most obvious with tiny  
boxes in the example, n=100000). The problem does not occur when I use  
an x11 device. It sounds like this is an old problem without a good  
solution. What puzzles me is that I did not have the problem using  
quartz as a screen device prior to upgrading to 2.7.0.

Do you know of a workaround? I have tried setting quartz(antialias=F)  
but still have the problem.

tempF<-function(n) {
im<- matrix(0,nrow=n,ncol=5)
for (i in 1:5) {
   im[,i] <- seq(1,n)
}

image(im , col = topo.colors(100))
}

tempF(10)
tempF(1000)
tempF(100000)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Summary.001.png
Type: image/png
Size: 30555 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20080527/c4acaebd/attachment.png>
-------------- next part --------------
On May 21, 2008, at 10:22 AM, Simon Urbanek wrote: