无法在RStudio中安装软件包 - 下载后被阻止

问题描述 投票:0回答:1

我正在尝试在RStudio中安装软件包“sqldf”,但它在下载了几个软件包之后就会阻塞

R version 3.5.0 (2018-04-23)


> install.packages("sqldf")
Installing package into ‘C:/Users/sperga/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
also installing the dependencies ‘BH’, ‘plogr’, ‘gsubfn’, ‘proto’, ‘RSQLite’, ‘DBI’, ‘chron’

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/BH_1.66.0-1.zip'
Content type 'application/zip' length 17880019 bytes (17.1 MB)
downloaded 17.1 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/plogr_0.2.0.zip'
Content type 'application/zip' length 18718 bytes (18 KB)
downloaded 18 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/gsubfn_0.7.zip'
Content type 'application/zip' length 357663 bytes (349 KB)
downloaded 349 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/proto_1.0.0.zip'
Content type 'application/zip' length 471954 bytes (460 KB)
downloaded 460 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/RSQLite_2.1.1.zip'
Content type 'application/zip' length 2154846 bytes (2.1 MB)
downloaded 2.1 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/DBI_1.0.0.zip'
Content type 'application/zip' length 887210 bytes (866 KB)
downloaded 866 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/chron_2.3-52.zip'
Content type 'application/zip' length 198130 bytes (193 KB)
downloaded 193 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/sqldf_0.4-11.zip'
Content type 'application/zip' length 78155 bytes (76 KB)
downloaded 76 KB

我也试图回避CRAN,但它没有用。

非常感谢!

r rstudio r-package
1个回答
0
投票

我遇到了确切的问题,但是我加载了RGui,以管理员的身份运行它,为我输入了install命令(install.packages(“ez”)),然后让它运行。大约10分钟后,它完成了。你可能只是等不了多久。

© www.soinside.com 2019 - 2024. All rights reserved.