[Rd] R-devel/R-patched crossed with Xterm/IDLE

Jan de Leeuw deleeuw@stat.ucla.edu
Thu Feb 27 05:32:02 2003

Two versions of R
	1. R-patched (compiled with X11 support, and tcl/tk for X11)
	2. R-devel (compiled with native tcl/tk support, without-x)
	1. Terminal.app (or an Xterm) with an X server running.
	2. IDLE (i.e. native Python GUI with native tkinter) with Rpy loaded.  
No X server.
Packages with "problems"
	1. tcltk
	2. methods
The "normal" combination is to use Terminal.app with R-patched. This  
X11.  All tcltk demos work. The methods package
works. We cannot use Terminal.app with the quartz device or with
native tcltk, because the windows do not accept events (cannot be
brought to the front). I know why this does not work (Terminal.app
is the frontmost application and it does not know anything about those

IDLE/Rpy with R-devel can do some of the tcltk demos (tkcanvas,  
tkdensity, tkfaq)
but not all (tkttest,tkfindfile). And, surprisingly enough, IDLE/Rpy  
R-patched can do the same demos (and fails on the same demos), although
its tcltk is compiled using fink's X11 based tk. No X server is running  
in these cases.
I have no idea why some demos work and others don't. It's interesting  
IDLE/Rpy uses the native AquaTk provided by tkinter, and does not ask  
X11. In IDLE/Rpy both the quartz device window and the tk windows  
respond to
mouse and keyboard events.

IDLE/Rpy with R-patched loads the method package, but IDLE/Rpy with  
does not. It complains about missing symbols, notably ATTRIB, in  
which the executable (bundle_loader) also cannot find. In R-devel  
is compiled with two-level namespaces, and only the methods package uses
R.bin as bundle_loader (otherwise it does not dump). In R-patched all  
use flat namespaces.

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: deleeuw@stat.ucla.edu
homepage: http://gifi.stat.ucla.edu
           No matter where you go, there you are. --- Buckaroo Banzai