What to do when a package is not available for our R version?

r

Solution

Try something like:

packageurl <- "http://cran.r-project.org/src/contrib/Archive/XXXX/XXXX_A.B.C.tar.gz"
install.packages(packageurl, contriburl=NULL, type="source")

where `XXXX` is your package name and `A.B.C` is the version of the package (not R).

Problem

Very often, when I try to download a package, I've got the following message : ``` Warning in install.packages : package ‘XXXX’ is not available (for R version 3.0.1) ``` Is it not possible to simulate an old version of R to use the package ?

Original source

Related problems