可以帮忙看看吗 JAVA和R都是安装在一个文件下
> install.packages("xlsx")
--- 在此連線階段时请选用CRAN的鏡子 ---
还安装相依关系‘rJava’, ‘xlsxjars’
试开URL’https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/windows/contrib/3.3/rJava_0.9-8.zip'
Content type 'application/zip' length 713967 bytes (697 KB)
downloaded 697 KB
试开URL’https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/windows/contrib/3.3/xlsxjars_0.6.1.zip'
Content type 'application/zip' length 9485184 bytes (9.0 MB)
downloaded 9.0 MB
试开URL’https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/windows/contrib/3.3/xlsx_0.5.7.zip'
Content type 'application/zip' length 401439 bytes (392 KB)
downloaded 392 KB
程序包‘rJava’打开成功,MD5和检查也通过
程序包‘xlsxjars’打开成功,MD5和检查也通过
程序包‘xlsx’打开成功,MD5和检查也通过
下载的二进制程序包在
C:\Users\GSJ\AppData\Local\Temp\Rtmp6fwQnR\downloaded_packages里
> library(xlsx)
载入需要的程辑包:rJava
Error : loadNamespace()里算'rJava'时.onLoad失败了,详细内容:
调用: fun(libname, pkgname)
错误: JAVA_HOME cannot be determined from the Registry
错误: 无法载入程辑包‘rJava’
>
|