Error in loadNamespace(name) : there is no package called 'RInside'

∥☆過路亽.° 提交于 2019-11-27 09:47:10

I fear this is local to your end.

If Rcpp and RInside are in fact in your default library location (and on Windows I sometimes copy them) then the examples build, as does the rest of the package. Recall that all this works for CRAN and the win-builder.

Amit Thakur

I was also having the same problem and read Dirk's reply and just ran

 install.packages("Rcpp", dependencies = TRUE)
 install.packages("RInside", dependencies = TRUE)

and it is working fine now.

Learner

I know the question was asked long back. But I faced the same problem while using R from python (Anaconda). Also I didnt find an reasonable explanation for it. Finally this is what worked for me.

import rpy2.robjects as ro

ro.r('''.libPaths('C:/Users/<remaining path>/R/win-library/3.1')''')

RSVM = importr('e1071')
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!