get_Rscript_filename: Returns file name being interpreted by Rscript

View source: R/utils.R

get_Rscript_filenameR Documentation

Returns file name being interpreted by Rscript

Description

get_Rscript_filename() returns the file name that Rscript is interpreting.

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_character_.


trevorld/r-getopt documentation built on Oct. 3, 2023, 12:19 p.m.