[R] Problem installing source packages on OS X

Aric Gregson aorchid at mac.com
Wed Sep 15 19:29:28 CEST 2004

I am attempting to install the Hmisc, rreport and Design packages, but
am not able to do so. I am running R v1.9.1 on Mac OS 10.3.5. 

I have tried installation using both the GUI version of R and also
running R from sudo in a terminal session. In the terminal I receive the
following error:

* Installing *source* package 'Design' ...
** libs
g77   -fno-common  -g -O2 -c lrmfit.f -o lrmfit.o
make: g77: Command not found
make: *** [lrmfit.o] Error 127
ERROR: compilation failed for package 'Design'
** Removing

I get the same error for Hmisc (rreport is not on CRAN). It looks like
it is trying to use g77 to compile the source package. How can I change
the default compiler? Will this solve the problem? I cannot find a
binary version of either package.



More information about the R-help mailing list