[Radek ~]$ fink install r-base
Information about 9995 packages read in 1 seconds.
The following package will be installed or updated:
r-base
Reading buildlock packages...
/sw/bin/dpkg-lockwait -i /sw/fink/dists/unstable/main/binary-darwin-i386/sci/r-base_2.12.0-1_darwin-i386.deb
Selecting previously deselected package r-base.
(Reading database ... 204892 files and directories currently installed.)
Unpacking r-base (from .../r-base_2.12.0-1_darwin-i386.deb) ...
Setting up r-base (2.12.0-1) …
[Radek ~]$ ls /sw/lib/python2.5/site-packages/_rpy
ls: /sw/lib/python2.5/site-packages/_rpy: No such file or directory
[Radek ~]$ fink install rpy-py25
Information about 9995 packages read in 0 seconds.
The following package will be installed or updated:
rpy-py25
Reading buildlock packages...
/sw/bin/dpkg-lockwait -i /sw/fink/dists/unstable/main/binary-darwin-i386/sci/rpy-py25_1.0.3-2_darwin-i386.deb
Selecting previously deselected package rpy-py25.
(Reading database ... 206878 files and directories currently installed.)
Unpacking rpy-py25 (from .../rpy-py25_1.0.3-2_darwin-i386.deb) ...
Setting up rpy-py25 (1.0.3-2) ...
[Radek ~]$ ls /sw/lib/python2.5/site-packages/_rpy*
/sw/lib/python2.5/site-packages/_rpy2110.so
[Radek ~]$ python2.5
Python 2.5.5 (r255:77872, Jan 24 2011, 11:02:17)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
import rpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/sw/lib/python2.5/site-packages/rpy.py", line 134, in <module>
""" % RVERSION)
RuntimeError: No module named _rpy2120
RPy module can not be imported. Please check if your rpy installation supports R 2.12.0. If you have multiple R versions installed, you may need to set RHOME before importing rpy. For example:
from rpy_options import set_options
set_options(RHOME='c:/progra~1/r/rw2011/')
from rpy import *
Anonymous