get_R: Downloads R

Description Usage Arguments Details Value Author(s) See Also

Description

Downloads R in app_dir. If it has already been downloaded, get_R will use that file. If the download fails it will stop.

Usage

1
2
get_R(app_dir = getwd(), R_version = paste0(">=", R.version$major, ".",
  R.version$minor))

Arguments

app_dir

Development app's directory, defaults to getwd().

R_version

R version to use. Supports inequalities. Defaults to: paste0(">=", R.version$major, '.', R.version$minor).

Details

If create_app(include_R = TRUE), then get_R.

Value

sprintf('R-%s-win.exe', R_version) in app_dir.

Author(s)

Jonathan M. Hill

See Also

get_R, copy_installation, create_config, create_bat, directives_section, setup_section, languages_section, tasks_section, files_section, icons_section, run_section, and code_section.


RInno documentation built on May 1, 2019, 10:52 p.m.