Learn R Programming

r5r (version 0.7.0)

download_r5: Download R5 Jar file

Description

Download a compiled JAR file of R5 and saves it locally. The JAR file is saved within the package directory. The package uses a compilation of R5 tailored for the purposes of r5r that keeps R5's essential features. Source code available at https://github.com/ipeaGIT/r5r.

Usage

download_r5(
  version = "6.4.0",
  quiet = FALSE,
  force_update = FALSE,
  temp_dir = FALSE
)

Arguments

version

string with the version of R5 to be downloaded. Defaults to latest version '6.4'.

quiet

logical, passed to download.file. Defaults to FALSE

force_update

logical, Replaces the jar file stored locally with a new one. Defaults to FALSE.

temp_dir

logical, whether the R5 Jar file should be saved in temporary directory. Defaults to FALSE

Value

A jar file is saved locally in the r5r package directory

See Also

Other setup: setup_r5()

Examples

Run this code
# NOT RUN {
if (interactive()) {

library(r5r)

download_r5(version = "6.4.0", temp_dir = TRUE)
}
# }

Run the code above in your browser using DataLab