[R-SIG-Mac] Tiny range bug
thatsanicehatyouhave at mac.com
thatsanicehatyouhave at mac.com
Tue Sep 11 19:31:06 CEST 2007
Hi,
I have a small function defined as such since I like to open windows
by specifying sizes in pixels rather than inches:
quartz2 = function (w = 360, h = 360) {
px2in = 5/360 # pixels to inches
quartz(width = w * px2in, height = h * px2in)
}
This works fine. I accidentally typed this at one point:
> quartz(h=120, w=600)
and got this error:
> 2007-09-11 18:17:57.882 R[558] *** REngine.runREPL: caught ObjC
> exception in the main loop!
> *** Please report the following error on r-sig-mac at r-project.org
> along with the full description of how to reproduce it:
> *** reason: Error (1007) creating CGSWindow
> *** name: NSInternalInconsistencyException, info: (null)
> *** Version: R 2.5.1 (42083) R.app R 2.5.1 GUI 1.20 (4535)/i386
> Consider saving your work soon in case this problem leads to a full
> crash.
I'm guessing it's not happy to create a window that 600 inches wide.
Probably not something that anyone's likely to come across, but I
thought I'd send in a report.
Cheers,
Demitri
More information about the R-SIG-Mac
mailing list