R | How to find current executable location
When using an IDE such as RStudio, it is sometimes necessary to locate the R executable on one's hard drive. To do so, simply run the following command in the R repl:
file.path(R.home(), "bin", "R")
When using an IDE such as RStudio, it is sometimes necessary to locate the R executable on one's hard drive. To do so, simply run the following command in the R repl:
file.path(R.home(), "bin", "R")