On 20/09/10 05:06, David Robinson 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.
Could you tell /exactly/ what you tried ? > 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 ------------------------------------------------------------------------------ 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