3

无法安装插入符号包!

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

当我单独安装“汽车”包时,它说:

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 的情况下使用插入符号,因为“汽车”包适用于 >= R 3.2。

4

0 回答 0