[R-SIG-Mac] Minor bug in Quartz sizing

Michael Lachmann lachmann at eva.mpg.de
Sun Sep 4 20:45:42 CEST 2011


I have a white macbook, and see the problem, on a simple plot(1:10), without an external screen.
When I have a second screen attached, 1680x1050, and it is the main screen, the problem disappears, and when the LCD is the main screen (1280x800) the problem is there.

R version 2.13.1 (2011-07-08)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

On 10.6.7

Michael

On 4 Sep 2011, at 4:18PM, Ben Madin wrote:

> If it helps, on 15" MBP, I can't generate this problem whether at 1024 x 768 or higher 1680 x 1050
> 
>> par(mfrow = c(4, 5), mar = c(2.1, 2.1, 4.1, 1.1))
>> for (i in 1:20) plot(1)
>> sessionInfo()
> R version 2.13.1 Patched (2011-07-25 r56499)
> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
> 
> locale:
> [1] en_AU.UTF-8/en_AU.UTF-8/C/C/en_AU.UTF-8/en_AU.UTF-8
> 
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base     
> Sun Sep  4 22:14:05 warrambat.local R[3618] <Error>: kCGErrorIllegalArgument: CGSShapeWindow
> Sun Sep  4 22:14:05 warrambat.local R[3618] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
> 
> 
> I've attached the error messages to show what happens when I resize the screen, even with no quartz device open. 
> 
> Were you in the GUI or in the terminal?
> 
> cheers
> 
> Ben
> 
> 
> On 04/09/2011, at 12:47 AM, Duncan Murdoch wrote:
> 
>> With a current R-patched (2.13.1 Patched (2011-09-02 r56906)), the following code generates plots missing the bottom labels:
>> 
>> par(mfrow = c(4, 5), mar = c(2.1, 2.1, 4.1, 1.1))
>> for (i in 1:20) plot(1)
>> 
>> If I resize the plot at all, it's redrawn correctly, with all margins showing.  After resizing, repetitions in the old window are fine, but if I close it and try again, the error re-surfaces.
>> 
>> I'm on Mac OSX 10.6.8.
>> 
>> Duncan Murdoch
>> 
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 
> 
> 



More information about the R-SIG-Mac mailing list