我正在尝试使用tidyr和dplyr软件包。但是,我需要先安装支柱和cil:
> library(dplyr)
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘pillar’
Error: package or namespace load failed for ‘dplyr’
> library(tidyr)
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘pillar’
Error: package or namespace load failed for ‘tidyr’
由于以下错误,我无法替代两个软件包:
> install.packages('pillar')
Warning in install.packages :
package ‘pillar’ is not available (for R version 3.3.2)
> install.packages('cli')
Warning in install.packages :
package ‘cli’ is not available (for R version 3.3.2)
我也尝试过直接从文件中安装它们,但仍然无法正常工作:
> install.packages("C:/Users/tb198/Downloads/cli_1.0.1.tar.gz", repos = NULL, type = "source")
'C:\PROGRA~1\MIE74D~1\R' is not recognized as an internal or external command,
operable program or batch file.
Warning in install.packages :
running command '"C:/PROGRA~1/MIE74D~1/R Client/R_SERVER/bin/x64/R" CMD INSTALL -l "C:\Program Files\Microsoft\R Client\R_SERVER\library" "C:/Users/tb198/Downloads/cli_1.0.1.tar.gz"' had status 1
Warning in install.packages :
installation of package ‘C:/Users/tb198/Downloads/cli_1.0.1.tar.gz’ had non-zero exit status
> install.packages("C:/Users/tb198/Downloads/pillar_1.3.0.tar.gz", repos = NULL, type = "source")
'C:\PROGRA~1\MIE74D~1\R' is not recognized as an internal or external command,
operable program or batch file.
Warning in install.packages :
running command '"C:/PROGRA~1/MIE74D~1/R Client/R_SERVER/bin/x64/R" CMD INSTALL -l "C:\Program Files\Microsoft\R Client\R_SERVER\library" "C:/Users/tb198/Downloads/pillar_1.3.0.tar.gz"' had status 1
Warning in install.packages :
installation of package ‘C:/Users/tb198/Downloads/pillar_1.3.0.tar.gz’ had non-zero exit status
有人知道如何解决此问题吗?
感谢您的帮助。
汤姆