安装胶水后 tidyverse 的问题
Problems with tidyverse after installing glue
我在安装胶水后加载 tidyverse
时遇到问题。
library(tidyverse)
后出现如下错误
Error: package or namespace load failed for ‘dplyr’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘glue’
我尝试过的一些东西:
remove.packages("glue")
remove.packages("tidyverse")
install.packages("tidyverse")
- 重新启动 R 会话
编辑
> sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
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] odbc_1.1.4 cellranger_1.1.0
loaded via a namespace (and not attached):
[1] Rcpp_0.12.15 pillar_1.1.0 compiler_3.4.3 plyr_1.8.4 bindr_0.1
[6] tools_3.4.3 digest_0.6.12 bit_1.1-12 memoise_1.1.0 tibble_1.4.1
[11] gtable_0.2.0 rlang_0.1.6.9003 DBI_0.7 yaml_2.1.14 bindrcpp_0.2
[16] gridExtra_2.3 withr_2.0.0 knitr_1.19 hms_0.3 devtools_1.13.3
[21] stats4_3.4.3 bit64_0.9-7 grid_3.4.3 inline_0.3.14 R6_2.2.2
[26] rstan_2.17.3 ggplot2_2.2.1 blob_1.1.0 scales_0.5.0 StanHeaders_2.17.2
[31] assertthat_0.2.0 colorspace_1.3-2 lazyeval_0.2.1 munsell_0.4.3
dplyr
取决于胶水,它似乎没有很好地安装在您的机器上(如果有的话)。
如果安装了glue
,您应该考虑先卸载它。
然后,尝试重新安装胶水包:devtools::install_github("tidyverse/glue")
我在安装胶水后加载 tidyverse
时遇到问题。
library(tidyverse)
Error: package or namespace load failed for ‘dplyr’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘glue’
我尝试过的一些东西:
remove.packages("glue")
remove.packages("tidyverse")
install.packages("tidyverse")
- 重新启动 R 会话
编辑
> sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
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] odbc_1.1.4 cellranger_1.1.0
loaded via a namespace (and not attached):
[1] Rcpp_0.12.15 pillar_1.1.0 compiler_3.4.3 plyr_1.8.4 bindr_0.1
[6] tools_3.4.3 digest_0.6.12 bit_1.1-12 memoise_1.1.0 tibble_1.4.1
[11] gtable_0.2.0 rlang_0.1.6.9003 DBI_0.7 yaml_2.1.14 bindrcpp_0.2
[16] gridExtra_2.3 withr_2.0.0 knitr_1.19 hms_0.3 devtools_1.13.3
[21] stats4_3.4.3 bit64_0.9-7 grid_3.4.3 inline_0.3.14 R6_2.2.2
[26] rstan_2.17.3 ggplot2_2.2.1 blob_1.1.0 scales_0.5.0 StanHeaders_2.17.2
[31] assertthat_0.2.0 colorspace_1.3-2 lazyeval_0.2.1 munsell_0.4.3
dplyr
取决于胶水,它似乎没有很好地安装在您的机器上(如果有的话)。
如果安装了glue
,您应该考虑先卸载它。
然后,尝试重新安装胶水包:devtools::install_github("tidyverse/glue")