getR: Downloads R version to include with archive

Description Usage Arguments Examples

Description

The getR function downloads the appropriate version of R to include in the archive.

Usage

1
getR(OS = "win", rVersion = NULL, filePath = "modelArchive/R_files")

Arguments

OS

Operating system for R version. Can be one of "win","mac","linux", or any combination of the three.

rVersion

Version of R to include, e.g. "3.1.1". Defaults to current version of R in use.

filePath

Relative file path to store downloaded R files.

Examples

1

USGS-R/modelArchive documentation built on May 9, 2019, 8:38 p.m.