[R-SIG-Mac]i get a lot of questions on this ...

Jan de Leeuw deleeuw@stat.ucla.edu
Mon, 17 Dec 2001 09:51:08 -0800


If you want to install R on Darwin you must do a number of other things. 
Not all
of it is necessary, but most of it will make your life easier (after a 
while), and it
will make your R faster. Of course you may decide to wait on R-1.4.0.

a. Install Fink from fink.sourceforge.net. Use Fink to install libz, 
libreadline,
atlas, libjpeg, libpng, f2c, dlcompat, tcl/tk, and maybe f77/g77. Make 
sure you source
the init.csh file that comes with Fink. This sets /sw/bin at the 
beginning
of your path and it sets DYLD_LIBRARY_PATH. You could also install all 
of Gnome
from Fink (if you want to use --gui=gnome in R).

b. Become an Apple developer (for free) and download and install the 
Apple
developer tools. Go to www.apple.com/developer or connect.apple.com

c. Download the latest version of R-1.3.1 from 
gifi.stat.ucla.edu/R/builds
and install in /usr/local

d. See if it works. If it complains about missing libraries, try

otool -L /usr/local/lib/R/bin/R.bin

and see what it wants. Provide the missing stuff from either Fink or
gifi.stat.ucla.edu/R/dylibs. In the same may you can use otool -L to see
what the tcl/tk or gnome modules are looking for, and the various
precompiled packages.

===
Jan de Leeuw; Professor and Chair, UCLA Department of Statistics;
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://www.stat.ucla.edu/~deleeuw
========================================================
           No matter where you go, there you are. --- Buckaroo Banzai
                    http://www.stat.ucla.edu/~deleeuw/sounds/nomatter.au
========================================================