Learn R Programming

mmstat4 (version 0.2.0)

install: install

Description

If a R package or Python module is not already installed, it will be installed with the user's consent.

Usage

install(rlibs = NULL, pymods = NULL)

Value

invisibly a list of the R packages and Python modules that were attempted to be installed

Arguments

rlibs

character: names of R packages

pymods

character: names of Python modules

Examples

Run this code
if (interactive()) {
  install(rlibs="A3", pymods="numpy")
}

Run the code above in your browser using DataLab