Skip to contents

Use RConfig() with executable = current_r() to run Console with the R installation running this code. R.home("bin") accounts for the current architecture on Windows; the launcher is R.exe on Windows and R elsewhere. This does not search PATH or copy the current R session's objects, libraries, or options.

Usage

current_r()

Value

A path to the current installation's R launcher.

Examples

RConfig(executable = current_r(), vanilla = TRUE)