Get the Location of the R Script that is Being Sourced/Executed


[Up] [Top]

Documentation for package ‘scriptloc’ version 1.0.0

Help Pages

scriptloc Get location of script in a fashion analagous to $BASH_SOURCE[0]
script_dir_get Return directory where the script exists
script_file_get Get location of script that was executed through Rscript
src_file_get Get location of script that was loaded through the source() function