From deleeuw@stat.ucla.edu  Wed Oct 30 19:27:56 2002
From: deleeuw@stat.ucla.edu (Jan de Leeuw)
Date: Wed, 30 Oct 2002 11:27:56 -0800
Subject: native OS X R
Message-ID: <B16CD746-EC3D-11D6-A502-000393860F3C@stat.ucla.edu>

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

configure  
--with-tcl-config=/Library/Frameworks/Tcl.framework/tclConfig.sh  
--with-tk-config=/Library/Frameworks/Tk.framework
/tkConfig.sh --enable-R-shlib --with-aqua --without-x  
TCLTK_LIBS="-framework Tcl -framework Tk"   
TCLTK_CPPFLAGS="-I/Library/Framewor
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  
device
gives

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  
Software
US mail: 9432 Boelter Hall, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email: deleeuw@stat.ucla.edu
homepage: http://gifi.stat.ucla.edu
   
------------------------------------------------------------------------ 
-------------------------
           No matter where you go, there you are. --- Buckaroo Banzai
                    http://gifi.stat.ucla.edu/sounds/nomatter.au
   
------------------------------------------------------------------------ 
------------------------- 
        

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


native OS X R
Jan de Leeuw