Created
May 6, 2020 15:16
-
-
Save danielecook/51d739d056cc45182e41717528d25ef8 to your computer and use it in GitHub Desktop.
Rstudio setwd to current working file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try(setwd(dirname(rstudioapi::getActiveDocumentContext()$path))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment