无法加载软件包(例如:googlesheets)

时间:2019-01-29 14:31:35

标签: r

我刚刚安装了googlesheets软件包,后来我打电话给了library("googlesheets),但是它无法执行,并给出了如下错误:

library(googlesheets)
Error in library(googlesheets) : 
  there is no package called ‘googlesheets’.

这里有谁可以帮忙

install.packages("googlesheets")
Installing package into ‘C:/Users/eduru.suresh/Documents/R/win-library/3.3’
(as ‘lib’ is unspecified)

  There is a binary version available but the source version is
  later:
             binary source needs_compilation
googlesheets  0.2.2  0.3.0             FALSE

installing the source package ‘googlesheets’

trying URL 'https://cran.rstudio.com/src/contrib/googlesheets_0.3.0.tar.gz'
Content type 'application/x-gzip' length 2187937 bytes (2.1 MB)
downloaded 2.1 MB

* installing *source* package 'googlesheets' ...
** package 'googlesheets' successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called 'pillar'
ERROR: lazy loading failed for package 'googlesheets'
* removing 'C:/Users/eduru.suresh/Documents/R/win-library/3.3/googlesheets'
Warning in install.packages :
  running command '"C:/PROGRA~1/R/R-33~1.2/bin/x64/R" CMD INSTALL -l "C:\Users\eduru.suresh\Documents\R\win-library\3.3" C:\Users\EDURU~1.SUR\AppData\Local\Temp\RtmpEB1KKI/downloaded_packages/googlesheets_0.3.0.tar.gz' had status 1
Warning in install.packages :
  installation of package ‘googlesheets’ had non-zero exit status

The downloaded source packages are in
    ‘C:\Users\eduru.suresh\AppData\Local\Temp\RtmpEB1KKI\downloaded_packages’
> library(googlesheets)
Error in library(googlesheets) : 
  there is no package called ‘googlesheets’

0 个答案:

没有答案
相关问题