9
由于rJava,尝试在R中加载程序包时出现问题
当我键入require(xlsx)以将程序包加载到xlsxR中时,显示以下消息: > require(xlsx) Loading required package: xlsx Loading required package: xlsxjars Loading required package: rJava Error : .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: JAVA_HOME cannot be determined from the Registry Failed with error: ‘package ‘rJava’ could not be loaded’ 我也尝试过rJava手动加载程序包,但收到以下错误消息: require(rJava) Loading required package: rJava …