包装载错误

时间:2018-01-06 07:11:29

标签: python r excel

不确定为什么xlsx包没有加载到R(它已经安装和下载没有任何错误)。

install.packages("xlsx")
library(xlsx)

Loading required package: rJava
Error: package or namespace load failed for ‘rJava’:
 .onLoad failed in loadNamespace() for 'rJava', details:
  call: fun(libname, pkgname)
  error: JAVA_HOME cannot be determined from the Registry
Error: package ‘rJava’ could not be loaded
In addition: Warning message:
package ‘xlsx’ was built under R version 3.4.3 

请协助

0 个答案:

没有答案