Search code examples
rrhadoop

install.packages("methods") failed for R 3.0.1


I try to install R package "methods" over R 3.0.1:

> install.packages("methods")
> Warning message:
package ‘methods’ is not available (for R version 3.0.1)

Is there any way to install 'methods' over R 3.0.1 or should I switch to R 3.0.0?

Thank you


Solution

  • methods is part of base R, you don't have to install it with install.packages, as it is already bundled with your R 3.0.1 installation.

    You will see that loading the package will not provide any error :

    library(methods)
    

    But you don't even have to do that, as it is already loaded by default in your R session.