Skip to content

Instantly share code, notes, and snippets.

@f0nzie
Created July 15, 2019 23:12
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 f0nzie/82d056541227d569029be7b7787fbb24 to your computer and use it in GitHub Desktop.
Save f0nzie/82d056541227d569029be7b7787fbb24 to your computer and use it in GitHub Desktop.
.Rprofile for master project
find_rsuite_root <- function(key = "PARAMETERS") rprojroot::find_root(key)
source(file.path(find_rsuite_root(), 'R', 'set_env.R'), chdir = TRUE)
options(rsuite.cache_path = "~/.rsuite/cache")
options(rsuite.user_templ_path = "~/.rsuite/templates")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment