首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在windows vista上安装dplyr包。

无法在windows vista上安装dplyr包。
EN

Stack Overflow用户
提问于 2015-09-30 05:27:36
回答 1查看 527关注 0票数 1

我试图在我的Windows vista机器上安装dplyr软件包(通过R Studio)。我安装了最新版本的R (3.22)和预览版的version。我以前在安装软件包时没有遇到任何问题,但是当我试图安装这个软件包时,我得到了错误:

代码语言:javascript
复制
> install.packages("dplyr")
Installing package into ‘C:/Users/user/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
also installing the dependency ‘BH’

trying URL 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/BH_1.58.0-1.zip'
Content type 'application/zip' length 13846694 bytes (13.2 MB)
downloaded 13.2 MB

trying URL 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/dplyr_0.4.3.zip'
Content type 'application/zip' length 2552598 bytes (2.4 MB)
downloaded 2.4 MB

我还试着安装devtools软件包,这样我就可以直接从github安装dplyr包。然而,devtools软件包也给我安装带来了麻烦:

代码语言:javascript
复制
> install.packages("devtools")
Installing package into ‘C:/Users/user/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
also installing the dependencies ‘BH’, ‘brew’, ‘xml2’, ‘httr’, ‘curl’, ‘memoise’, ‘whisker’, ‘jsonlite’, ‘roxygen2’, ‘rversions’, ‘git2r’

trying URL 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/BH_1.58.0-1.zip'
Content type 'application/zip' length 13846694 bytes (13.2 MB)
downloaded 13.2 MB

trying URL 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/brew_1.0-6.zip'
Content type 'application/zip' length 104730 bytes (102 KB)
downloaded 102 KB

trying URL 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/xml2_0.1.2.zip'
Content type 'application/zip' length 3174710 bytes (3.0 MB)
downloaded 3.0 MB

trying URL 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/httr_1.0.0.zip'
Content type 'application/zip' length 382429 bytes (373 KB)
downloaded 373 KB

trying URL 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/curl_0.9.3.zip'
Content type 'application/zip' length 4384906 bytes (4.2 MB)
downloaded 4.2 MB

trying URL 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/memoise_0.2.1.zip'
Content type 'application/zip' length 16878 bytes (16 KB)
downloaded 16 KB

trying URL 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/whisker_0.3-2.zip'
Content type 'application/zip' length 64756 bytes (63 KB)
downloaded 63 KB

trying URL 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/jsonlite_0.9.17.zip'
Content type 'application/zip' length 1009755 bytes (986 KB)
downloaded 986 KB

trying URL 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/roxygen2_4.1.1.zip'
Content type 'application/zip' length 594453 bytes (580 KB)
downloaded 580 KB

trying URL 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/rversions_1.0.2.zip'
Content type 'application/zip' length 16455 bytes (16 KB)
downloaded 16 KB

trying URL 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/git2r_0.11.0.zip'
Content type 'application/zip' length 2690457 bytes (2.6 MB)
downloaded 2.6 MB

trying URL 'http://cran.stat.sfu.ca/bin/windows/contrib/3.2/devtools_1.9.1.zip'
Content type 'application/zip' length 357684 bytes (349 KB)
downloaded 349 KB

这些文件中没有一个被写入‘C:/user/user/Documents/R/win/3.2’。

其他尝试过的事情:

  • 确保我安装了最新版本的R
  • 在管理员模式下打开R,然后安装软件包
  • 在R指挥官中安装
  • 试着换个小镜子

这些都帮不上忙。

有什么办法安装dplyr吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-09-30 15:50:28

作为@erasmortg在评论中建议,我首先从cran-r页下载了dplyr文件。然后跑:

代码语言:javascript
复制
utils::install.packages("c:/R/dplyrversion.zip", repos=NULL)
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32858446

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档