Hi,

The use of R_PrintWarings() was removed from rpy2's codebase in both branches version_2.3.x and default.
It should solve the problem.


L.

On 2013-03-07 08:09, Laurent Gautier wrote:
Hi,

rpy2 is not much tested with the current R-devel (R-3.0).
From the error message it seems that Rf_PrintWarnings (part of R's C-API, at least until 2.15.3) is no longer there.

Try with a more recent R-devel (yours is about 2 weeks old) and file a bug report on the bitbucket page for rpy2.
I'll look at it when I have a chance.


L.


On 2013-03-07 08:01, Peng Lian wrote:
Hi all,
I just compile the new rpy2-2.3.3 version. But i encounter a importerror when *import rpy2.robjects as ro*.
The error message is:

---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-4-bd461266c9bc> in <module>()
----> 1 import rpy2.robjects

/usr/lib/python3.3/site-packages/rpy2/robjects/__init__.py in <module>()
     12 import array
     13 import itertools
---> 14 import rpy2.rinterface as rinterface
     15 import rpy2.rlike.container as rlc
     16

/usr/lib/python3.3/site-packages/rpy2/rinterface/__init__.py in <module>()
     99
    100
--> 101 from rpy2.rinterface._rinterface import *
    102
    103

ImportError: /usr/lib/python3.3/site-packages/rpy2/rinterface/_rinterface.cpython-33m.so: undefined symbol: Rf_PrintWarnings

It seems that the module of rinterface didn't define Rf_PrintWarnings, but i don't know how to fix it. The basic information is:
python version:
>>> import sys
>>> sys.verison_info
sys.version_info(major=3, minor=3, micro=0, releaselevel='final', serial=0)

R verion:
 R --version

R Under development (unstable) (2013-02-22 r62030) -- "Unsuffered Consequences"
Copyright (C) 2013 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-unknown-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see
http://www.gnu.org/licenses/.










------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev


_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to