Skip to content

R and XDarwin -- should tcltk still work?

2 messages · David Firth, stefano iacus

#
This is a question about running R in an X-windows environment on the 
Mac.

I haven't yet "upgraded" to Apple's X11, and am still using the 
Xfree86/XDarwin setup, which worked fine with R up to and including 
1.7.1.

With the new R 1.8.0 (the binary RAqua from CRAN), though, I get the 
following problem:

 > library(tcltk)
 > kCGErrorIllegalArgument : CGSGetWindowType: Invalid window
kCGErrorIllegalArgument : CGSGetWindowType: Invalid window

Is this because R now tries to draw Aqua-based Tk windows rather than 
X11 ones?  or something else?  I'd welcome any hints before I spend 
time experimenting.

Thanks,
David
#
David,
I've checked in my config. Package tcltk should load quietly under X11 
even when if configured to used aqua TclTk, but when you try to access 
the tcltk GUI you should come to a bus error.
stefano
On Gioved?, ott 9, 2003, at 11:09 Europe/Rome, David Firth wrote: