get_rscript_script_path {fritools}R 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()

[Package fritools version 4.3.0 Index]