[R] Problems installing packages on MacOS with R 2.00
Prof Brian Ripley
ripley at stats.ox.ac.uk
Mon Nov 15 12:38:22 CET 2004
On Mon, 15 Nov 2004, Marco Chiarandini wrote:
> Dear Prof. Ripley,
>> It is R 2.0.0! Your problem is that you do not have g77 installed, or at
>> least, not the same version as was used to compile your version of R.
>> (Please do read the posting guide and tell us where you got R from -- I
>> suspect you did not compile it yourself.)
> I took R from http://cran.at.r-project.org/. True, I did not compiled
> it: it was the R 2.0.0 (lastest version) bin package. However, I have
> g77 version 3.4 (October 2003) installed on MacOS.
Which is rather old, and this was looking for 3.4.2 (and 3.4.3 is
Have you read the posting guide yet?
> I deleted both -lfrtbegin and -lg2c from FLIBS in
You can safely delete -lfrtbegin. I don't believe you can safely delete
-lg2c, as some packages do need code from it. On my systems that includes
acepack, but as you have a system using libR.dylib, it may be that
libR.dylib contains the routines that acepack needs from -lg2c.
> and now Hmisc compiles fine.
> I could not find a directory
> in my installation.
>> I think this should be in the MacOS X FAQ, but unfortunately the version
>> on CRAN linked from the sidebar and the main FAQ at
>> is for R 1.9.1, not 2.0.0. Did your installation come with a current
>> However, a further problem is that many packages which use Fortran code
>> cannot be compiled for MacOS X as it does not have a shared Fortran
>> run-time library. So I suspect that if you do install g77-3.4.2 you will
>> find that you cannot compile package acepack, and that is why no
>> pre-compiled version of the package is available.
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help