R | Current Script Directory
Here is how to retrieve the directory of the current script:
script_dir <- dirname(sys.frame(1)$ofile)
Resources:
Here is how to retrieve the directory of the current script:
script_dir <- dirname(sys.frame(1)$ofile)
Resources: