R错误中的汽车包

时间:2016-09-01 16:42:48

标签: r

我正在尝试通过命令行在R中安装包car

install.packages("car")

        Error : package ‘Matrix’ was built before R 3.0.0: please re-install it
       ERROR: lazy loading failed for package ‘RcppEigen’
       * removing ‘/afs/umbc.edu/users/w/j/wjohn1/home/R/x86_64-redhat-linux-gnu-    library/3.3/RcppEigen’
        * installing *source* package ‘MatrixModels’ ...
    ** package ‘MatrixModels’ successfully unpacked and MD5 sums checked
    ** R
    ** preparing package for lazy loading
    Error : package ‘Matrix’ was built before R 3.0.0: please re-install it
    ERROR: lazy loading failed for package ‘MatrixModels’
     ERROR: dependency ‘RcppEigen’ is not available for package ‘lme4’
     ERROR: dependency ‘MatrixModels’ is not available for package ‘quantreg’
   ERROR: dependency ‘lme4’ is not available for package ‘pbkrtest’
   ERROR: dependencies ‘pbkrtest’, ‘quantreg’ are not available for package ‘car’

 The downloaded source packages are in
        ‘/tmp/Rtmpois2Ys/downloaded_packages’
      Warning messages:
     1: In install.packages("car") :
            installation of package ‘RcppEigen’ had non-zero exit status
     2: In install.packages("car") :
             installation of package ‘MatrixModels’ had non-zero exit status
     3: In install.packages("car") :
             installation of package ‘lme4’ had non-zero exit status
     4: In install.packages("car") :
             installation of package ‘quantreg’ had non-zero exit status
     5: In install.packages("car") :
              installation of package ‘pbkrtest’ had non-zero exit status
      6: In install.packages("car") :
             installation of package ‘car’ had non-zero exit status

我已尝试安装上述lmematrix等,但仍然会为lme返回更多错误,如下所示:

Warning messages:
     1: In install.packages("lme4") :
         installation of package ‘RcppEigen’ had non-zero exit status
     2: In install.packages("lme4") :
         installation of package ‘lme4’ had non-zero exit status

0 个答案:

没有答案