Learn R Programming

easypackages (version 0.1.0)

install_packages: install_packages()

Description

Installs one or more packages. Similar to utils::install.packages, but you may supply either package names and package_obj objects to this function. You can install Github packages by supplying username/repo to this function, or username$repo for Bitbucket packages.

Usage

install_packages(...)

Arguments

...
one or more package names or package_obj objects

Details

package_obj allows you to supply it an install function if the package isn't on CRAN or in a public GitHub or Bitbucket repo.

Examples

Run this code
## Not run: 
# install_packages("dplyr", "ggplot2", "rvest", "magrittr")
# ## End(Not run)

Run the code above in your browser using DataLab