get_Rscript_filename {getopt} | R Documentation |
get_Rscript_filename()
returns the file name that Rscript
is interpreting.
get_Rscript_filename()
A string with the filename of the calling script.
If not found (i.e. you are in a interactive session) returns NA_character_
.