无法安装插入包!!
install.packages("caret")
Installing package into ‘/home/timekeeper/R/x86_64-unknown-linux-gnu-library/3.1’
(as ‘lib’ is unspecified)
Warning: dependency ‘car’ is not available
trying URL 'http://mirrors.softliste.de/cran/src/contrib/caret_6.0-52.tar.gz'
Content type 'application/x-gzip' length 3665293 bytes (3.5 Mb)
opened URL
==================================================
downloaded 3.5 Mb
ERROR: dependency ‘car’ is not available for package ‘caret’
* removing ‘/home/timekeeper/R/x86_64-unknown-linux-gnu-library/3.1/caret’
The downloaded source packages are in
‘/tmp/RtmpLbNFrr/downloaded_packages’
Warning message:
In install.packages("caret") :
installation of package ‘caret’ had non-zero exit status
当我单独安装'car'包时,它说:
install.packages("car")
Installing package into ‘/home/timekeeper/R/x86_64-unknown-linux-gnu-library/3.1’
(as ‘lib’ is unspecified)
Warning message:
package ‘car’ is not available (for R version 3.1.2)
我正在使用
R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-unknown-linux-gnu (64-bit)
我从3.2降级到R 3.1.2,因为我遇到了一些兼容性问题 有没有办法在没有升级到R 3.2的情况下使用插入符号,因为'car'包用于> = R 3.2。