Hi again,

Just letting you know that I just tried copying the entire 2.11 folder, and
calling the new one 2.9. As far as I can tell, rpy2 now works. Someone still
might want to look for the problem- I am unsure why it would think my
version is 2.9- but I seem to be OK.

Sorry to bother the list!

-David

On Sun, Sep 19, 2010 at 11:06 PM, David Robinson <admiral.da...@gmail.com>wrote:

> Hi,
>
> I just reinstalled R with version 2.11 (on a Mac running OS X 10.5.8). Rpy2
> used to run fine on my machine, but now I'm running into a problem I've
> never seen before:
>
> >>> from rpy2.robjects import *
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "build/bdist.macosx-10.3-fat/egg/rpy2/robjects/__init__.py", line
> 12, in <module>
>   File "build/bdist.macosx-10.3-fat/egg/rpy2/rinterface/__init__.py", line
> 75, in <module>
>   File "build/bdist.macosx-10.3-fat/egg/rpy2/rinterface/rinterface.py",
> line 7, in <module>
>   File "build/bdist.macosx-10.3-fat/egg/rpy2/rinterface/rinterface.py",
> line 6, in __bootstrap__
> ImportError:
> dlopen(/Users/davidrobinson/.python-eggs/rpy2-2.1.0alpha2dev_20100129-py2.6-macosx-10.3-fat.egg-tmp/rpy2/rinterface/rinterface.so,
> 2): Library not loaded:
> /Library/Frameworks/R.framework/Versions/2.9/Resources/lib/libR.dylib
>   Referenced from:
> /Users/davidrobinson/.python-eggs/rpy2-2.1.0alpha2dev_20100129-py2.6-macosx-10.3-fat.egg-tmp/rpy2/rinterface/rinterface.so
>   Reason: image not found
>
> I've tried reinstalling both R and rpy2, and nothing works.  What I don't
> understand is that it is looking for
>
> /Library/Frameworks/R.framework/Versions/2.9/Resources/lib/libR.dylib
>
> But the 2.9 folder doesn't exist (since it is not my version). However, I
> DO have:
>
> /Library/Frameworks/R.framework/Versions/2.11/Resources/lib/libR.dylib
>
> Clearly rpy2 has my version wrong. How can I fix this?
>
> Thanks in advance!
>
> -David
>
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to