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()
Arguments
Value
NULL. In the background the working directory has changed if not any errors occurred.