set_wd_to_script_path: Set wd to script path

set_wd_to_script_pathR Documentation

Set wd to script path

Description

Sets working directory to the path where the R-script is located. Only works inside [Rstudio] and in a script (i.e. not in the console). Additionally, the R-script needs to be saved in a path to work.

Usage

set_wd_to_script_path()

Value

NULL. In the background the working directory has changed if not any errors occurred.


hablar documentation built on March 31, 2023, 11:54 p.m.