get_r_cmd_batch_script_path: Get the Path of the 'R' Code File in Case of an "R CMD BATCH"...

View source: R/batch.R

get_r_cmd_batch_script_pathR Documentation

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

Description

Retrieve the path from parsing the command line arguments of a R CMD BATCH run.

Usage

get_r_cmd_batch_script_path()

Value

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

See Also

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

Examples

get_r_cmd_batch_script_path()

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