Re: [Rd] strange interaction between rasterImage and Grid graphics

2010-10-03 Thread Paul Murrell
Hi Thanks for narrowing down the problem. I have committed some more defensive code and a change that fixes the problem (for me ... R version 2.13.0 Under development (unstable) (2010-09-28 r53056) Platform: i686-pc-linux-gnu (32-bit) Paul On 10/3/2010 10:25 PM, Brian G. Peterson wrote: On

Re: [Rd] strange interaction between rasterImage and Grid graphics

2010-10-03 Thread Brian G. Peterson
On Sat, 2 Oct 2010 22:36:07 -0700, Deepayan Sarkar wrote: >> On Sat, Oct 2, 2010 at 4:35 PM, Paul Murrell >> wrote: >>> The only device I've tried is quartz(), x11() crashed with rasterImage, >> >> That is more serious.  I have heard of a couple of others like this and >> I think the common threa

Re: [Rd] strange interaction between rasterImage and Grid graphics

2010-10-02 Thread Deepayan Sarkar
On Sat, Oct 2, 2010 at 4:35 PM, Paul Murrell wrote: > Hi > > baptiste auguie wrote: >> >> Dear all, >> >> This may be specific to Mac, I haven't had a chance to test another >> platform. Consider this, >> >> plot(1,1,t="n") >> rasterImage(matrix(1),1,1,1,1) >> library(grid) >> grid.rect(gp=gpar(fi

Re: [Rd] strange interaction between rasterImage and Grid graphics

2010-10-02 Thread Paul Murrell
Hi baptiste auguie wrote: Dear all, This may be specific to Mac, I haven't had a chance to test another platform. Consider this, plot(1,1,t="n") rasterImage(matrix(1),1,1,1,1) library(grid) grid.rect(gp=gpar(fill="grey")) > The grid.rect covers the full device window as expected. However, wh

Re: [Rd] strange interaction between rasterImage and Grid graphics

2010-10-02 Thread baptiste auguie
Hi, Thanks for the follow-up. On 2 October 2010 09:33, Deepayan Sarkar wrote: > On Fri, Oct 1, 2010 at 12:17 AM, baptiste auguie > wrote: >> Dear all, >> >> This may be specific to Mac, I haven't had a chance to test another >> platform. Consider this, >> >> plot(1,1,t="n") >> rasterImage(matri

Re: [Rd] strange interaction between rasterImage and Grid graphics

2010-10-02 Thread Deepayan Sarkar
On Fri, Oct 1, 2010 at 12:17 AM, baptiste auguie wrote: > Dear all, > > This may be specific to Mac, I haven't had a chance to test another > platform. Consider this, > > plot(1,1,t="n") > rasterImage(matrix(1),1,1,1,1) > library(grid) > grid.rect(gp=gpar(fill="grey")) > > The grid.rect covers the

[Rd] strange interaction between rasterImage and Grid graphics

2010-10-01 Thread baptiste auguie
Dear all, This may be specific to Mac, I haven't had a chance to test another platform. Consider this, plot(1,1,t="n") rasterImage(matrix(1),1,1,1,1) library(grid) grid.rect(gp=gpar(fill="grey")) The grid.rect covers the full device window as expected. However, when I resize the window ever so s