get_rscript_script_path: Get the Path of the 'R' Code File in Case of an "Rscript" Run

View source: R/batch.R

get_rscript_script_pathR Documentation

Get the Path of the 'R' Code File in Case of an 'Rscript' Run

Description

Retrieve the path from parsing the command line arguments of a Rscript run.

Usage

get_rscript_script_path()

Value

A vector of mode character giving the name of the R code file. Will be character(0) if not in an Rscript run.

See Also

Other script path getter functions: get_r_cmd_batch_script_path(), get_script_name(), get_script_path()

Examples

get_rscript_script_path()

fritools documentation built on Nov. 19, 2023, 1:06 a.m.