12

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 ?

4

1 回答 1

6

尝试类似:

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

XXXX您的包名称在哪里,并且A.B.C是包的版本(不是 R)。

于 2013-08-01T18:43:16.037 回答