Bugs item #3197048, was opened at 2011-03-02 09:36
Message generated for change (Tracker Item Submitted) made by radeks
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=453021&aid=3197048&group_id=48422
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: rpy
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Radek Szklarczyk (radeks)
Assigned to: Nobody/Anonymous (nobody)
Summary: rpy/fink does not work with R2.12 on Mac OS X
Initial Comment:
# I have R 2.12.0 installed.
[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) …
# Despite that, upon installation of rpy-py25 I get 2.11 version of the so
library:
[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
# Subsequently, python2.5 fails to import rpy, because it tries to import
_rpy2120:
[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 *
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=453021&aid=3197048&group_id=48422
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
rpy-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rpy-list