powered by
Set working directory to location of the active document in RStudio
setwd_to_active_doc()
there will be no output from this function. Rather, the working directory will be set as location of the active document.
if (FALSE) { setwd_to_active_doc() }
Run the code above in your browser using DataLab