我只是按照本教程: http: //pandas.pydata.org/pandas-docs/dev/r_interface.html 当我输入:
import pandas.rpy.common as com
它给出以下错误消息:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\Python\Lib\site-packages\pandas\rpy\common.py", line 11, in <module>
from rpy2.robjects.packages import importr
ImportError: No module named packages
如何解决?
熊猫 0.8.1 + Python 2.6 + R 2.12.2 + rpy2 2.0.8 + window-xp