我已经从 Oracle 网站下载了编译好的 ROracle 包。我已将我的工作目录设置为setwd()
. 然后我尝试按如下方式安装软件包:
install.packages("ROracle-1.3.2.zip", repos=NULL)
它失败了,我收到以下错误消息:
Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open the connection
In addition: Warning message:
In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open compressed file 'ROracle-1.3.2/DESCRIPTION', probable reason 'No such file or directory'
我也尝试从命令行以防万一:
R CMD INSTALL ROracle-1.3.2.zip
它也失败了,我收到以下错误消息:
* installing to library 'Z:/R/R-3.6.1/library'
Warning in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open compressed file 'ROracle-1.3.2/DESCRIPTION', probable reason 'No such file or directory'
Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open the connection
描述文件当然存在于 ROracle-1.3.2.zip 中。我打开它看了看——只是一个普通的说明文件。
我正在使用 Windows 7。
如何安装 ROracle?