Skip to content
Prev 16885 / 398513 Next

Installing contributed packages on MacOS X: Solved!

I had run into problems when compiling some contributed packages to an
installation of R 1.40 by fink on MacOS X. Namely, packages KernSmooth
(2.22-7) and cluster (1.4-0) would not find required libraries, though those
were present on the system.

Jeff Whitaker, the maintainer of the R fink packages, kindly sent me this:
That solved the problem here instantly.

To the developers: Do I understand correctly that those two packages had
their library path hard-coded instead of "inheriting" it from the R CMD
INSTALL process? I had assumed that R CMD INSTALL would pass on the lib
paths that R itself was compiled with, but I may be wrong... though a
cursory reading of "Writing R Extensions" seems to confirm this.

Anyway, it works now.

Cheers

Kaspar Pflugshaupt