我是新来rpy2和使用importr导入R程序包“XTS”和“quantmod”我有麻烦
代码如下:
from rpy2.robjects.packages import importr
xts = importr('xts')
quantmod = importr('quantmod')
错误是:
LibraryError: Conflict when converting R symbol in the package "xts" to a Python symbol (.subset.xts -> _subset_xts while there is already _subset_xts)
LibraryError: Conflict when converting R symbol in the package "quantmod" to a Python symbol (skeleton.TA -> skeleton_TA while there is already skeleton_TA)
我不使用importr许多其他包搞定这个问题,例如,“统计”,“图形”,“动物园”,“GGPLOT2”
版本:
- Python版本2.7.3
- [R版本2.15.2
- rpy2版本 '2.3.0beta1'
任何帮助将不胜感激