XLConnect在Windows的R中安装失败

时间:2019-07-11 13:06:21

标签: r xlconnect

我安装了R Studio 1.2.1335版和R版本3.5.2版

我正在尝试安装XLconnect软件包,但我一直在获取 错误:there is no package called 'XLConnect'

install.packages("XLConnect")

WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/ also installing the dependency ‘XLConnectJars’

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/XLConnectJars_0.2-15.zip' Content type 'application/zip' length 14789155 bytes (14.1 MB) downloaded 14.1 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/XLConnect_0.2-15.zip' Content type 'application/zip' length 9832001 bytes (9.4 MB) downloaded 9.4 MB

package ‘XLConnectJars’ successfully unpacked and MD5 sums checked Warning in install.packages :   cannot remove prior installation of package ‘XLConnectJars’ package ‘XLConnect’ successfully unpacked and MD5 sums checked Warning in install.packages :   cannot remove prior installation of package ‘XLConnect’

The downloaded binary packages are in   C:\Users\hamaor\AppData\Local\Temp\RtmpWAe4XU\downloaded_packages
library("XLConnect") 
Error in library("XLConnect") : there is no package called ‘XLConnect’
.libPaths()

[1] "F:/Dropbox/tools/R-3.5.2/library"

当我查看该目录时,看到XLConnect在那。 (我还尝试按照其他帖子的建议安装Java 64位。)

感谢您的帮助

0 个答案:

没有答案