I'm getting the following error when trying to install rpy2 on my Mac.
$ python setup.py install
Traceback (most recent call last):
File "setup.py", line 153, in <module>
ri_ext = getRinterface_ext(RHOME, r_packversion)
File "setup.py", line 139, in getRinterface_ext
File "setup.py", line 85, in get_rconfig
raise Exception(cmd + '\nreturned\n' + rconfig)
Exception: "/opt/local/lib/R/bin/R" CMD config BLAS_LIBS
This happens whether I use easy_install or the command-line install.
I'm trying to install the latest rpy2 (rpy2-2.0.8).
I'm using Python 2.5.4 |EPD 5.1.1| (r254:67916, Jul 20 2009, 15:41:21),
though the problem also occurs when I use Python 2.6.4 (r264:75706, Nov 6 2009, 10:44:01) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin.
I have tried to do my homework and solve this myself, but have had no luck.
A similar problem has been addressed here:
but that involved Fink (which I'm not using) and the problem was apparently since fixed.
Any help would be much appreciated - I dearly miss this package.
(it used to work, before I started over from scratch with Snow Leopard a few months ago)