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

Ben Madin lists at remoteinformation.com.au
Sun Sep 4 16:18:21 CEST 2011


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



More information about the R-SIG-Mac mailing list