Skip to content

Instantly share code, notes, and snippets.

@f0nzie
Last active July 16, 2019 01:10
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/0493dc541f68903584d22ce6179dab23 to your computer and use it in GitHub Desktop.
Save f0nzie/0493dc541f68903584d22ce6179dab23 to your computer and use it in GitHub Desktop.
.Rprofile for notebooks under ./work/notebooks
find_rsuite_root <- function(key = "PARAMETERS") rprojroot::find_root(key)
source(file.path(find_rsuite_root(), 'R', 'set_env.R'), chdir = TRUE)
.libPaths(c(normalizePath(sbox_path), normalizePath(lib_path), .libPaths()))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment