我正在处理一个流失项目,并遇到了一个J48树功能。被问到的包裹是RWeka和派对。但是当我加载库(RWeka)时,我收到错误
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: inDL(x, as.logical(local), as.logical(now), ...)
error: unable to load shared object 'C:/Users/joe.main/Documents/R/win-library/3.3/rJava/libs/i386/rJava.dll':
LoadLibrary failure: The specified module could not be found.
In addition: Warning message:
package ‘RWeka’ was built under R version 3.3.1
Error: package or namespace load failed for ‘RWeka’
此问题的解决方法是什么?
答案 0 :(得分:0)
这是JAVA_HOME的一个问题>一旦我从环境变量路径中删除它
就行了