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

R | Current Script Directory

Here is how to retrieve the directory of the current script:

script_dir <- dirname(sys.frame(1)$ofile)

Resources:

You must have Author or Collection Owner permission to create Guru Cards. Contact your team's Guru admins to use this template.