Guru's Verification engine ensures consistency, confidence, and trust in the knowledge your organization shares. Learn more.

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")
You must have Author or Collection Owner permission to create Guru Cards. Contact your team's Guru admins to use this template.