Skip to content

OS X GUI Issue

2 messages · Kyle G. Lundstedt, Byron Ellis

#
Hi all,
     I'm using the R 2.1.1 framework and the associated R 1.12 Aqua  
GUI on OS X Tiger.  I think I've found a bug in the GUI.  I'm working  
with a large dataset (about 400,000 records and 50 variables), and  
tried to do a densityplot of one of the variables (with the dataset  
attached).
     Because the operation takes a minute or two, I hid the R  
application using the Cmd-H shortcut, and opened up the Mail  
application to check mail.  I then minimized the Mail app a minute or  
so later, and restored the R application by clicking once on the R  
icon in the Dock.
     The R app came to the forefront, but the console had the  
following error message:

 > densityplot(~ CurrentBalance | FICO, plot.points = FALSE)
2005-08-08 13:38:03.251 R[2244] *** Assertion failure in - 
[RDeviceView lockFocus], AppKit.subproj/NSView.m:3244
2005-08-08 13:38:03.323 R[2244] *** NSTimer discarding exception  
'lockFocus sent to a view whose window is deferred and does not yet  
have a corresponding platform window' that raised during firing of  
timer with target 11dead0 and selector 'kickstart:'

     From the contents of the message, I suspect that there might be  
a bug with the GUI that occurs when trying to graph using the Quartz  
device when the R app is hidden.

Thanks,
Kyle
#
Yes, the window created in the RQuartz should probably not be created  
'deferred' in this case since a CGContextRef won't be available until  
the window actually appears on a screen.
On Aug 8, 2005, at 1:58 PM, Kyle G. Lundstedt wrote:

            
---
Byron Ellis (ellis at stat.harvard.edu)
"Oook" -- The Librarian