R Startup

  • Command line: --no-environ, --no-init, --no-restore, --no-save (or --vanilla for all) to speed up startup
  • .Renviron: set environment variables
  • .Rprofile: run R code
  • usethis::edit_r_environ() & usethis::edit_r_profile()
  • What They Forgot to Teach You About R Book Club
  • options(continue = " ") is new to me!
  • .Last() runs at end of session