native OS X R

Jan de Leeuw
Wed, 30 Oct 2002 11:27:56 -0800

I have a version of R-devel which is configured with the flags

/ --enable-R-shlib --with-aqua --without-x  
TCLTK_LIBS="-framework Tcl -framework Tk"   
ks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers"

This means no X11, the Quartz device, the Aqua interface, and the  
native AquaTk version
of Tcl/Tk. Drawing to windows works fine (both to the Quartz device and  
the Tk
windows), but there are still some serious problems.

1. The Aqua interface does not work (R --gui=aqua) -- it does not show  
up. I am
not sure if it is supposed to. So we work from the terminal.

2. The windows do not handle events properly. Clicking on the Quartz  

RCNE SendEventToEventTarget (mous Up                  ) failed, -9874

Running the tkcanvas demo is more satisfactory. Points can be colored
and dragged, and the line adjusts fine, but the window never becomes
the front window and the terminal bitterly complains

SetFrontProcess failed,-606

at each mouse event.

Jan de Leeuw; Professor and Chair, UCLA Department of Statistics;
Editor: Journal of Multivariate Analysis, Journal of Statistical  
US mail: 9432 Boelter Hall, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email:
           No matter where you go, there you are. --- Buckaroo Banzai

r-devel mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: