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.
Examples
RConfig(executable = current_r(), vanilla = TRUE)