我试图在我的笔记本电脑W10 / 64的全新设置上安装此软件包,下载全新的RStudio 1.1.419(截至今天的1/28/2018),没有做任何事情到个人资料。
运行install.packages('tidyverse')
后,我看到很多依赖性错误,如下所示,如何一次性处理它们?我假设应该是安装中的一些依赖助手?或者还有其他方法可以下载1G的R包来全部拥有它们吗?或者我应该逐一拿走这些丢失的扫帚?我做了我的家庭工作,看到很多关于安装问题的事情,假设这对于免费版本是可以的。
Warning in install.packages :
installation of package ‘callr’ had non-zero exit status
ERROR: dependencies 'rlang', 'utf8' are not available for package 'pillar'
* removing 'C:/Users/Lap10/Documents/R/win-library/3.2/pillar'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-32~1.2/bin/x64/R" CMD INSTALL -l "C:\Users\Lap10\Documents\R\win-library\3.2" C:\Users\Lap10\AppData\Local\Temp\Rtmp8g3UW7/downloaded_packages/pillar_1.1.0.tar.gz' had status 1
Warning in install.packages :
installation of package ‘pillar’ had non-zero exit status
ERROR: dependencies 'rlang', 'tidyselect' are not available for package 'dbplyr'
* removing 'C:/Users/Lap10/Documents/R/win-library/3.2/dbplyr'
Warning in install.packages :
在找到丢失的包裹后,我有这个:
install.packages('rlang')
Installing package into ‘C:/Users/Lap10/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
Package which is only available in source form, and may need compilation of
C/C++/Fortran: ‘rlang’
These will not be installed
library(rlang)
Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared object 'C:/Users/Lap10/Documents/R/win-library/3.2/rlang/libs/x64/rlang.dll':
LoadLibrary failure: The specified procedure could not be found.
会话信息:
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] dplyr_0.5.0
loaded via a namespace (and not attached):
[1] magrittr_1.5 R6_2.2.2 assertthat_0.2.0 DBI_0.7 tools_3.2.2 tibble_1.3.0
[7] Rcpp_0.12.10
>