I can guess that you are using R-2.8.1 from the path in the error 
messate, but version numbers for Python and rpy2, and the OS you are 
using, would be nice to have.

This might be caused by mixing R versions. What do return the following 
shell commands:

which R

R --version






L.




Sebastian Zurek wrote:
> Hi! I've got the following problem and I can not find the reason:
> 
> During the rpy2.robjects import, the dyn.load can not load the libs, the 
> error 
> output is:
> 
>>>> import rpy2
>>>> import rpy2.robjects
> Error in dyn.load(file, DLLpath = DLLpath, ...) :  unable to load shared 
> library '/home/sebzur/R_2.8.1/lib/R/library/methods/libs/methods.so':
>   /home/sebzur/R_2.8.1/lib/R/library/methods/libs/methods.so: undefined 
> symbol: 
> Rf_allocS4Object
> 
> The R on its own works perfect. It's installed locally in user home dir.
> 
> Any clues?
> 
> Thanks in advance!
> Sebastian
> 
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> rpy-list mailing list
> rpy-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rpy-list


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to