get_script_path: Get the Path of the 'R' Code File

View source: R/batch.R

get_script_pathR Documentation

Get the Path of the 'R' Code File

Description

This is just a wrapper for get_rscript_script_path and get_r_cmd_batch_script_path.

Usage

get_script_path()

Value

A vector of length 1 and mode character giving the name of the R code file if R was run via R CMD BATCH or Rscript.

See Also

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

Examples

get_script_path()

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