Loading tidyverse with R Studio IDE


#1

I was wondering if anyone here has figured out a way to automatically load the tidyverse package when you open up the R Studio IDE?

-Jason


Loading tidyverse package upon startup of R Studio
#2

Probably not a good idea but

if (interactive()) {
  suppressMessages(require(tidyverse))
}

in your .Rprofile maybe?


#3

+1 on probably not a good idea (makes code less portable, etc.) However, if you feel super compelled to do so anyway, you can use the .Rprofile, or even save your workspace (which is like a triply bad idea, but ¯\(°_o)/¯ )