1
我最近下载了新的win10更新,由于某种原因,它的阻止我从R.下载新的软件包以下是错误:[R工作室错误
install.packages("dplyr")
Warning in install.packages : InternetOpenUrl failed: 'A connection with the server could not be established'
这是我的解决方案,没有工作。从CRAN下载:
name <- ("C:/Program Files/R/R-3.4.1/library")
download.file("https://cran.r-project.org/package=dplyr", destfile = name)
Error in download.file("https://cran.r-project.org/package=dplyr", destfile
= name) :cannot open destfile 'C:/Program Files/R/R-3.4.1/library', reason
'Permission denied'
任何解决方案,赞赏。
我尝试了两种解决方案并得到相同的错误。任何其他想法?谢谢 –
可以在下载软件包之前尝试运行'options(download.file.method =“libcurl”)',看看你得到了什么结果? –