如何解决rJava软件包安装错误?

时间:2019-06-06 14:49:37

标签: r

我正在安装显示以下错误的rJava和qdab软件包-

> Error: package or namespace load failed for ‘rJava’:
> .onLoad failed in loadNamespace() for 'rJava', details:
>  call: inDL(x, as.logical(local), as.logical(now), ...)
>  error: unable to load shared object 'C:/Users/kangna.maini/Documents/CGN/R-3.6.0/library/rJava/libs/x64/rJava.dll':
>  LoadLibrary failure:  The specified module could not be found.

我也已经在x64bit计算机上下载了Java,但是问题仍然存在

Sys.setenv(JAVA_HOME='C:/Program Files/jre-8u211-windows-i586-iftw')
install.packages("rJava", repos = 'http://cran.us.r-project.org')

library(rJava)
library(qdap)

运行代码以进行进一步的数据分析后,请预期将其安装

0 个答案:

没有答案