Cauder
Cauder

Reputation: 2637

Can I install `caret` on CentOS?

I am running the latest version of RServer on a CentOS EC2 instance.

I'd like to install caret, but I am getting this error message.

install.packages("caret", dependencies=TRUE, repos='http://cran.rstudio.com/')

Installing package into ‘/home/username/R/x86_64-redhat-linux-gnu-library/3.4’ (as ‘lib’ is unspecified) Warning in install.packages : package ‘caret’ is not available (for R version 3.4.1)

I saw that the CRAN page has OS and Windows binaries, but not Linux.

I looked into installing a Microsoft Server EC2 machine instead, but it looks like RServer is not supported. Can I install caret on Linux?

Upvotes: 0

Views: 85

Answers (1)

Ralf Stubner
Ralf Stubner

Reputation: 26843

It is normal that binary packages are only available for Windows and Mac. Linux systems are just to diverse. However, on the CRAN page you linked you can also see

Depends: R (>= 3.5.0)

You have to update your R installation. After that there should be no problems installing the package on Linux.

Upvotes: 0

Related Questions