Well I seemed to have fixed it by changing the call to KillAllDevices() 
in rpymodule.c to Rf_KillAllDevices() as is defined in libR.so.

Perhaps there's a better way?

Thanks for a great rpy package BTW,
John.



John Reid wrote:
> I get this error when I import rpy:
> /usr/local/lib/python2.5/site-packages/_rpy2070.so: undefined symbol: 
> KillAllDevices
> 
>        RPy module can not be imported. Please check if your rpy
>        installation supports R 2.7.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 *
> 
> 
> 
> 
> Compilation of rpy 1.0.2 and R 2.7.0 seems fine. I am on Suse Linux 10.3 
> with gcc 4.1.2
> 
> Any ideas what I might be doing wrong?
> 
> Thanks,
> John.
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft 
> Defy all challenges. Microsoft(R) Visual Studio 2008. 
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to