本文介绍了XLConnect无法确定JAVA_HOME错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我很感谢您的帮助:我正在尝试运行XLconnect,但是我收到此错误消息:
> library("XLConnect", lib.loc="C:/Users/1144143929/Documents/R/win-library/2.15")
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: fun(libname, pkgname)
error: JAVA_HOME cannot be determined from the Registry
Error: package/namespace load failed for ‘XLConnect’
解决方案
链接中的答案解决了我的问题. >
在解决之前,我尝试通过将JAVA_HOME添加到Windows环境中来进行尝试.它解决了此错误,但又造成了另一个问题.上面链接中的解决方案可以解决此问题,而不会造成其他问题.
I'd apreciate your help: i'm trying to run XLconnect but I receive this error message:
> library("XLConnect", lib.loc="C:/Users/1144143929/Documents/R/win-library/2.15")
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: fun(libname, pkgname)
error: JAVA_HOME cannot be determined from the Registry
Error: package/namespace load failed for ‘XLConnect’
解决方案
Answer in link resolved my issue.
Before resolution, I tried by adding JAVA_HOME to windows environments. It resolved this error but created another issue. The solution in above link resolves this issue without creating additional issues.
这篇关于XLConnect无法确定JAVA_HOME错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!