That's a possible mismatch between the version of R rpy2 was compiled
against and the version of R (and packages) you are running this against.
On 7/6/10 12:59 AM, Fong Chun Chan wrote:
> Hi,
>
> I am getting this weird error when I try to import the affy package from
> python using Rpy2. I am using R version 2.10.1 and Rpy2 2.1.3.
>
> The piece of code that is causing it is "r.library('simpleaffy'') and
> the error I am getting:
>
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
> unable to load shared library
> '/usr/lib64/R/library/affyio/libs/affyio.so':
> /usr/lib64/R/library/affyio/libs/affyio.so: undefined symbol:
> R_ClassSymbol
> Error: package 'affy' could not be loaded
> Traceback (most recent call last):
> File "run.py", line 254, in <module>
> doMicroArrayQC( "Exon_FF_covdesc.txt" )
> File "run.py", line 143, in doMicroArrayQC
> r.library('simpleaffy')
> File
> "/home/fong/lib64/python2.6/site-packages/rpy2/robjects/functions.py",
> line 83, in __call__
> return super(SignatureTranslatedFunction, self).__call__(*args,
> **kwargs)
> File
> "/home/fong/lib64/python2.6/site-packages/rpy2/robjects/functions.py",
> line 35, in __call__
> res = super(Function, self).__call__(*new_args, **new_kwargs)
> rpy2.rinterface.RRuntimeError: Error: package 'affy' could not be loaded
>
> Any ideas on what is going on?
>
> Fong
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>
>
>
> _______________________________________________
> rpy-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rpy-list
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
rpy-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rpy-list