Jan de Leeuw
Sat, 12 Oct 2002 12:45:04 -0700

The package tkrplot now works in OS X (Jaguar). The
core of the problem is that the load function in tcl does not accept
bundles, but needs dynamic libraries (I verfied this using the
native version of tclsh and Wish). But the config files in
the tkrplot package (as in all packages) build bundles, not
libraries. Thus I said in the src directorry of the tkrplot package

gcc -dynamiclib -flat_namespace -undefined suppress -install_name  
/usr/local/lib/R/library/tkrplot/libs/tkrplot.dylib \\
	-o tkrplot.dylib -L/usr/local/lib/R/bin -lR -L/sw/lib -ltcl -ltk  
-L/usr/X11R6/lib -lX11 tcltkimg.o

and I changed the R code in tkrplot so that it uses .dylib as the
file extension.

It is still mysterious to me why it did work, using bundles, in
OS X 10.1, but, hey, what's life without a little mystery.

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: