To install dplyr
simply type in the R console.
install.packages("dplyr")
And then to load dplyr
, type
library("dplyr")
It's also possible to install the latest development version from Github with:
if (packageVersion("devtools") < 1.6) {
install.packages("devtools")
}
devtools::install_github("hadley/lazyeval")
devtools::install_github("hadley/dplyr")
You may want to install the data packages used in most examples: install.packages(c("nycflights13", "Lahman"))
.