[Pythonmac-SIG] building rpy

Craig Amundsen cdamundsen at gmail.com
Sun Jul 10 18:42:13 CEST 2005


Hi -

I've built R and rpy on a couple of Macs using a bashed together
combination of the instructions in

http://rpy.sourceforge.net/faq.html

and

http://www.economia.unimi.it/R/RMACOSX-FAQ.html

The key bit is that R needs to be built as a shared library.

>From the rpy FAQ:
./configure --enable-R-shlib

To make R a Framework build, from the Building R FAQ:
./configure --with-blas='-framework vecLib' --with-lapack --with-aqua

Combining these two collections of configure options gets us
./configure --with-blas='-framework vecLib' --with-lapack --with-aqua
--enable-R-shlib

After configuring, making and installing R as above, rpy should build just fine.

- Craig


More information about the Pythonmac-SIG mailing list