powered by
This is just a wrapper for get_rscript_script_path and get_r_cmd_batch_script_path.
get_rscript_script_path
get_r_cmd_batch_script_path
get_script_path()
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.
length
mode
R CMD BATCH
Rscript
Other script path getter functions: get_r_cmd_batch_script_path(), get_rscript_script_path(), get_script_name()
get_r_cmd_batch_script_path()
get_rscript_script_path()
get_script_name()
# NOT RUN { get_script_path() # }
Run the code above in your browser using DataLab