Dplyr无法安装

3

我做了一次快速谷歌搜索,并没有找到类似的问题。

我正在尝试安装dplyr,但在安装过程中它会卡住。

 install.packages("dplyr")
 Installing package into ‘W:/Documents/R/win-library/3.3’
 (as ‘lib’ is unspecified)
 also installing the dependencies ‘assertthat’, ‘R6’, ‘Rcpp’, ‘magrittr’,
 ‘lazyeval’, ‘DBI’, ‘BH’

 trying URL 
'https://cran.mtu.edu/bin/windows/contrib/3.3/assertthat_0.1.zip'
 Content type 'application/zip' length 44746 bytes (43 KB)
 downloaded 43 KB

trying URL 'https://cran.mtu.edu/bin/windows/contrib/3.3/R6_2.1.2.zip'
Content type 'application/zip' length 271158 bytes (264 KB)
downloaded 264 KB

trying URL 'https://cran.mtu.edu/bin/windows/contrib/3.3/Rcpp_0.12.5.zip'
Content type 'application/zip' length 3225584 bytes (3.1 MB)
downloaded 3.1 MB

trying URL 'https://cran.mtu.edu/bin/windows/contrib/3.3/magrittr_1.5.zip'
Content type 'application/zip' length 149394 bytes (145 KB)
downloaded 145 KB

trying URL 'https://cran.mtu.edu/bin/windows/contrib/3.3/lazyeval_0.2.0.zip'
Content type 'application/zip' length 137792 bytes (134 KB)
downloaded 134 KB

trying URL 'https://cran.mtu.edu/bin/windows/contrib/3.3/DBI_0.4-1.zip'
Content type 'application/zip' length 207812 bytes (202 KB)
downloaded 202 KB

trying URL 'https://cran.mtu.edu/bin/windows/contrib/3.3/BH_1.60.0-2.zip'
Content type 'application/zip' length 15529281 bytes (14.8 MB)
downloaded 14.8 MB

trying URL 'https://cran.mtu.edu/bin/windows/contrib/3.3/dplyr_0.4.3.zip'
Content type 'application/zip' length 2393257 bytes (2.3 MB)
downloaded 2.3 MB

package ‘assertthat’ successfully unpacked and MD5 sums checked
package ‘R6’ successfully unpacked and MD5 sums checked
package ‘Rcpp’ successfully unpacked and MD5 sums checked
package ‘magrittr’ successfully unpacked and MD5 sums checked
package ‘lazyeval’ successfully unpacked and MD5 sums checked
package ‘DBI’ successfully unpacked and MD5 sums checked

之后程序就停止了,没有继续执行BHdplyr。已经过去约10分钟了,但仍然显示在运行中,但没有任何进展。我已经从库中删除它们并尝试重新安装,以及从其他来源重新安装一次。但都没有成功。你知道发生了什么吗?


我今天在Windows PC上安装了dplyr,遇到了它卡住的问题。当我正准备停止它时,它又开始工作了。 - Richard Telford
1
刚刚在午餐时留下它,终于完成了。真奇怪。 - ajamess
1
我遇到了同样的问题。我在我的个人电脑上顺利安装并且运行良好,但是出于某种原因,我的工作电脑对此并不感冒。真是奇怪。 - tb.
2个回答

2

显然,耐心是解决问题的关键。请给它足够的10分钟左右时间,并离开一会儿。

如果您看一下相对大小,BH比下一个最大的文件大5倍,而Rccp比前面的其他文件大25倍以上。所以需要花费更长的时间。


0
正如上面有人说的,耐心是关键。这是真的。在我的情况下,我等了大约2-3分钟。在你的情况下可能需要更长或更短的时间,但是只要等待完成,它就会起作用,希望你会发现它有用。

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接