powered by
R CMD BATCH
Retrieve the path from parsing the command line arguments of a R CMD BATCH run.
get_r_cmd_batch_script_path()
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.
mode
Other script path getter functions: get_rscript_script_path(), get_script_name(), get_script_path()
get_rscript_script_path()
get_script_name()
get_script_path()
# NOT RUN { get_r_cmd_batch_script_path() # }
Run the code above in your browser using DataLab