【发布时间】:2020-01-08 12:19:43
【问题描述】:
R 版本 3.6.2
Error in read.dcf(file.path(pkgname, "DESCRIPTION"),
c("Package", "Type")) :
cannot open the connection
In addition: Warning messages:
1: In download.file(url, destfile, method, mode = "wb", ...) :
downloaded length 210960384 != reported length 335976807
2: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file
3: In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open compressed file 'INLA/DESCRIPTION', probable reason 'No such file or directory'
【问题讨论】:
-
你是怎么安装的?
-
请添加您使用过的安装命令。
-
install.packages("INLA", repos=c(getOption("repos"), INLA="inla.r-inla-download.org/R/stable"), dep=TRUE) install.packages("INLA", repos=c (getOption("repos"), INLA="inla.r-inla-download.org/R/testing"), dep=TRUE)
-
我也试试这个:install.packages("INLA", repos="math.ntnu.no/inla/R/testing")
标签: r install.packages