From deleeuw@stat.ucla.edu  Sat Oct 12 20:45:04 2002
From: deleeuw@stat.ucla.edu (Jan de Leeuw)
Date: Sat, 12 Oct 2002 12:45:04 -0700
Subject: tkrplot
Message-ID: <1AB94D32-DE1B-11D6-A072-000393860F3C@stat.ucla.edu>

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  
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


tkrplot
Jan de Leeuw