当前位置:   article > 正文

R安装程辑包,无法打开压缩文件错误_"error in read.dcf(file.path(pkgname, \"descriptio

"error in read.dcf(file.path(pkgname, \"description\"), c(\"package\", \"type\")) :"

Error in read.dcf(file.path(pkgname, “DESCRIPTION”), c(“Package”, “Type”)) :
无法打开链结
此外: Warning messages:
1: In download.file(url, destfile, method, mode = “wb”, …) :
downloaded length 6385664 != reported length 8464251
2: In unzip(zipname, exdir = dest) : 从zip文件中抽取1时出了错
3: In read.dcf(file.path(pkgname, “DESCRIPTION”), c(“Package”, “Type”)) :
无法打开压缩文件’TH.data/DESCRIPTION’,可能是因为’No such file or directory’

出现类似问题时,解决方式如下:
修改链接

https://cran.r-project.org/web/packages/package_name/index.html
修改要安装的package_name包名
下载到本地安装即可

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/凡人多烦事01/article/detail/333491
推荐阅读
相关标签
  

闽ICP备14008679号