1

I am installing different packages in R but I getting following error,even though I Installed Later Available R verson

Command:

install.packages("dataset")

Error:

package ‘dataset’ is not available (for R version 3.1.1)
Naseer
  • 4,041
  • 9
  • 36
  • 72

1 Answers1

2

You probably want the datasets package, with an s. That's pretty popular.

If not, the package you're looking for is probably in a different repository (not CRAN). You can install packages from other repositories with the devtools package. For example, if it's on GitHub you can type:

install.packages("devtools")
require(devtools)
install_github("packageName")
rsoren
  • 4,036
  • 3
  • 26
  • 37