问答详情
源自:2-3 包

引入‘caret’ 后,用library打开包,提示缺少包quantreg

> install.packages("caret")

Installing package into ‘C:/Users/Vicky/Documents/R/win-library/3.3’

(as ‘lib’ is unspecified)

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/caret_6.0-73.zip'

Content type 'application/zip' length 4893920 bytes (4.7 MB)

downloaded 4.7 MB


package ‘caret’ successfully unpacked and MD5 sums checked


The downloaded binary packages are in

C:\Users\Vicky\AppData\Local\Temp\RtmpGkt24U\downloaded_packages

> library(caret)

Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 

  不存在叫‘quantreg’这个名字的程辑包

Error: ‘caret’程辑包或名字空间载入失败,


提问者:Sally_M 2017-02-27 06:53

个回答

  • ruibin
    2017-03-04 16:15:09

    再安装一次quantreg