无法在 windows vista 上安装 dplyr 包
Unable to install dplyr package on windows vista
我正在尝试在我的 Windows vista 机器上安装 dplyr 包(通过 R Studio)。我安装了最新版本的 R (3.22) 和 R Studio 的预览版。我在过去安装软件包时没有遇到任何问题,但是当我尝试安装这个软件包时,出现错误:
> 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包也给我安装带来了麻烦:
> 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
None 这些文件曾经被写入“C:/Users/user/Documents/R/win-library/3.2”。
其他尝试过的东西:
- 确保我安装了最新版本的 R
- 在管理员模式下打开 R Studio 然后安装包
- 改为在 R commander 中安装
- 尝试不同的 CRAN 镜像
None 其中有帮助。
知道如何安装 dplyr 吗?
如, I first downloaded the dplyr zip file from the cran-r page。然后 运行:
utils::install.packages("c:/R/dplyrversion.zip", repos=NULL)
我正在尝试在我的 Windows vista 机器上安装 dplyr 包(通过 R Studio)。我安装了最新版本的 R (3.22) 和 R Studio 的预览版。我在过去安装软件包时没有遇到任何问题,但是当我尝试安装这个软件包时,出现错误:
> 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包也给我安装带来了麻烦:
> 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
None 这些文件曾经被写入“C:/Users/user/Documents/R/win-library/3.2”。
其他尝试过的东西:
- 确保我安装了最新版本的 R
- 在管理员模式下打开 R Studio 然后安装包
- 改为在 R commander 中安装
- 尝试不同的 CRAN 镜像
None 其中有帮助。
知道如何安装 dplyr 吗?
如
utils::install.packages("c:/R/dplyrversion.zip", repos=NULL)