Installing package into ‘C:/Users/zhangying/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
also installing the dependencies ‘XLConnectJars’, ‘rJava’
trying URL 'https://mirrors.ustc.edu.cn/CRAN/bin/windows/contrib/3.5/XLConnectJars_0.2-15.zip'
Content type 'application/zip' length 14789135 bytes (14.1 M?
downloaded 14.1 MB
trying URL 'https://mirrors.ustc.edu.cn/CRAN/bin/windows/contrib/3.5/rJava_0.9-10.zip'
Content type 'application/zip' length 826966 bytes (807 K?
downloaded 807 KB
trying URL 'https://mirrors.ustc.edu.cn/CRAN/bin/windows/contrib/3.5/XLConnect_0.2-15.zip'
Content type 'application/zip' length 9830929 bytes (9.4 M?
downloaded 9.4 MB
package ‘XLConnectJars’ successfully unpacked and MD5 sums checked
package ‘rJava’ successfully unpacked and MD5 sums checked
package ‘XLConnect’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\zhangying\AppData\Local\Temp\Rtmpgha55D\downloaded_packages
library(XLConnect)
载入需要的程辑包:XLConnectJars
Error: package or namespace load failed for ‘XLConnectJars’:
loadNamespace()里算'rJava'时.onLoad失败了,详细内容:
调用: fun(libname, pkgname)
错误: JAVA_HOME cannot be determined from the Registry
Error: 无法载入程辑包‘XLConnectJars’
不懂为何上面已经提示成功安装,在library时用说上载失败