get_Rscript_filename {getopt}R Documentation

Returns file name of calling Rscript

Description

get_Rscript_filename returns the file name of calling Rscript

Usage

get_Rscript_filename()

Value

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


[Package getopt version 1.20.2 Index]