Skip to content

Instantly share code, notes, and snippets.

@Pakillo
Created March 11, 2016 17:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Pakillo/ace26165e161f2a88a00 to your computer and use it in GitHub Desktop.
Save Pakillo/ace26165e161f2a88a00 to your computer and use it in GitHub Desktop.
Get root directory of a Rstudio project
library(rprojroot)
root <- find_rstudio_root_file()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment