Skip to content

Instantly share code, notes, and snippets.

@davan690
Created October 28, 2019 05:41
Show Gist options
  • Save davan690/b417d524fb8da095f5083247a882127d to your computer and use it in GitHub Desktop.
Save davan690/b417d524fb8da095f5083247a882127d to your computer and use it in GitHub Desktop.
key-config-files
RPROJ <- list(PROJHOME = getwd())
attach(RPROJ)
cat("sourcing Project-specific .Rprofile\n")
cat('retrieve the top-level Project directory at any time with PROJHOME or via get("PROJHOME", "RPROJ"):\n',
get("PROJHOME", "RPROJ"), "\n")
rm(RPROJ)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment