问答详情
源自:2-3 包

为什么library(caret)不能实现

为什么我按她的方法显示的却是这种情况

提问者:qq_当女孩遇到熊_04062007 2016-10-10 13:00

个回答

  • Joe198090
    2016-10-11 08:57:41
    已采纳

    你要确保caret这个包已正确安装才能实现library这一步

  • qq_脚踏实地_10
    2018-05-05 08:55:49

    请问这个问题怎么办?

    installing the source package ‘stringi’


    trying URL 'http://cran.rstudio.com/src/contrib/stringi_1.2.2.tar.gz'

    Content type 'application/x-gzip' length 7270627 bytes (6.9 MB)

    downloaded 6.9 MB


    * installing *source* package 'stringi' ...

    ** 成功将'stringi'程序包解包并MD5和检查

    Warning in system("sh ./configure.win") : 'sh' not found

    ERROR: configuration failed for package 'stringi'

    * removing 'D:/program files/R language/R-3.5.0/library/stringi'

    In R CMD INSTALL

    Warning in install.packages :

      installation of package ‘stringi’ had non-zero exit status


    The downloaded source packages are in

    ‘C:\Users\Michael\AppData\Local\Temp\RtmpQXf6bD\downloaded_packages’