问答详情
源自:2-3 包

安装caret后无法加载(library(caret) ),提示“不存在叫‘caret’这个名字的程辑包”?

提示的警告和错误如下:

Warning in install.packages :

  error 1 in extracting from zip file

Warning in install.packages :

  cannot open compressed file 'stringi/DESCRIPTION', probable reason 'No such file or directory'

Error in install.packages : cannot open the connection


提问者:Max571 2016-10-14 09:50

个回答

  • 慕雪5494720
    2018-11-14 10:09:18

    您好,请问您解决这个问题了吗?我现在也遇到同样的问题

  • Sally_M
    2017-02-27 07:35:57

    重新安装了‘quantreg’提示:

    package ‘quantreg’ successfully unpacked and MD5 sums checked

    Warning in install.packages :

      unable to move temporary installation ‘C:\Users\liliy\Documents\R\win-library\3.3\file2594a2f1140\quantreg’ to ‘C:\Users\liliy\Documents\R\win-library\3.3\quantreg’这是什么原因呢?


  • 隔壁王爷爷
    2016-11-05 22:29:46

    先运行

    install.packages("ggplot2")

    install.packages("lattice")

    install.packages("minqa")

    然后运行

    library(caret)

    即可

  • Max571
    2016-10-14 10:28:52

    先安装并加载了ggplot2和lattice这2个包之后,再次安装caret就可以了。