Returns file name of calling Rscript

Share:

Description

get_Rscript_filename returns the file name of calling Rscript

Usage

1

Value

A string with the filename of the calling script. If not found (i.e. you are in a interactive session) returns NA.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.