R-无法安装R软件包-无法打开连接 [英] R - Unable to install R packages - Cannot open the connection
问题描述
在将其标记为重复之前,我想说的是,我已经引用了相关的帖子1 ,帖子2 , 3 , 4
我正在尝试安装 dplyr
和 stringr
软件包,但我出现以下错误
安装警告:packages:
下载长度139264!=报告长度3227450
install.packages中的警告:
从zip文件
中提取错误1 install.packages中的警告:
无法打开压缩文件'dplyr / DESCRIPTION',可能的原因'没有这样的文件或目录'
install.packages中的错误:无法打开连接
我尝试了不同的安装命令,例如
install.packages( dplyr)
install.packages( dplyr,repos = http://cran.us.r-project.org)
install.packages( dplyr,repos = http://cran.us.r -project.org,type = win.binary)
> Sys.info()
sysname版本计算机
Windows 10 x64内部版本17134 x86-64
>版本
_
平台x86_64-w64-mingw32
arch x86_64
os mingw32
系统x86_64,mingw32
状态
主要3
未成年人6.2
年2019
月12
日12
svn rev 77560
语言R
version.string R版本3.6.2(2019-12 -12)
的昵称黑暗与暴风雨之夜
直到昨天,我才能够安装打包成功。但是今天它抛出了这个错误。我也尝试过跟踪CRAN镜像,但仍然无济于事
能帮上忙吗?
我已经下载了R软件包并从本地文件安装。接下来,我尝试通过安装软件包安装一个包含很多导入内容的软件包,但我无法安装。我关闭了R并重新启动R,现在我可以安装很多导入的软件包了。 Rahul,R用户。
Before you mark this as duplicate, I wish to say that I already referred the related post 1,post 2, 3, 4
I am trying to install the dplyr
and stringr
package but i get the below error
Warning in install.packages :
downloaded length 139264 != reported length 3227450
Warning in install.packages :
error 1 in extracting from zip file
Warning in install.packages :
cannot open compressed file 'dplyr/DESCRIPTION', probable reason 'No such file or directory'
Error in install.packages : cannot open the connection
I tried different installation commands like
install.packages("dplyr")
install.packages("dplyr", repos="http://cran.us.r-project.org")
install.packages("dplyr", repos="http://cran.us.r-project.org",type="win.binary")
> Sys.info()
sysname release version machine
"Windows" "10 x64" "build 17134" "x86-64"
> version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 6.2
year 2019
month 12
day 12
svn rev 77560
language R
version.string R version 3.6.2 (2019-12-12)
nickname Dark and Stormy Night
Till yesterday, I was able to install this package successfully. But today it is throwing this error.
This error happens with other packages like stringr as well. I tried chaging CRAN mirrors as well but still no help
Can help please?
I have downloaded a R package and installed from local files. Next I tried to install a package, with many imports, through Install package(s), I could not install. I closed R and restarted R, now I am able to install packages, with many imports. Rahul, R user.
这篇关于R-无法安装R软件包-无法打开连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!