Learn R Programming

r5r (version 1.1.0)

download_r5: Download R5.jar

Description

Downloads R5.jar and saves it locally, inside the package directory.

Usage

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

Value

The path to the downloaded file.

Arguments

version

A string. The version of R5 to be downloaded. Defaults to the latest version.

quiet

A logical. Whether to show informative messages when downloading the file. Defaults to FALSE.

force_update

A logical. Whether to overwrite a previously downloaded R5.jar in the local directory. Defaults to FALSE.

temp_dir

A logical. Whether the file should be saved in a temporary directory. Defaults to FALSE.

See Also

Other setup: setup_r5()

Examples

Run this code
if (FALSE) { # identical(tolower(Sys.getenv("NOT_CRAN")), "true")
library(r5r)

download_r5(version = "6.9.0", temp_dir = TRUE)
}

Run the code above in your browser using DataLab