[R] help! installing R on Mac OS X 10.3.9

Zepu Zhang zpzhang at uchicago.edu
Sun Mar 12 16:29:06 CET 2006


Question 1: install R..dmg

How can I install R in ~/Applications and Rframework in ~/Library, instead of /
Library?

My preferred behavior is that if I choose /Applications for the app, framework 
goes into /Library; if I choose ~/Applications, libraries go into ~/Library (and 
don't ask me root password in this case).

Question 2: build from source

I built with this

export CC=gcc
export F77=g95
export CPPFLAGS=-Df2cFortran
./configure --with-blas="-framework vecLib" --with-lapack
make

make goes quite a long way until

...
/Users/zpzhang/Applications/g95-install/lib/gcc-lib/powerpc-apple-
darwin6.8/4.0.1/libf95.a(string.o) definition of common __g95_null_string (size 
1)
/usr/bin/libtool: internal link edit command failed
make[3]: *** [libR.dylib] Error 1
make[2]: *** [R] Error 2
make[1]: *** [R] Error 1
make: *** [R] Error 1

By the way, a lot of 

gcc: unrecognized option '-no-cpp-precomp'

Any suggestions?

thanks.

Zepu




More information about the R-help mailing list