Closed jeff1evesque closed 6 years ago
We need to conditionally define the cwd as follows:
cwd
## set project cwd: only execute in RStudio if (nzchar(Sys.getenv('RSTUDIO_USER_IDENTITY'))) { cwd <- dirname(rstudioapi::getSourceEditorContext()$path) setwd(cwd) }
We need to conditionally define the
cwd
as follows: