Loading tidyverse with R Studio IDE


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?


Loading tidyverse package upon startup of R Studio

Probably not a good idea but

if (interactive()) {

in your .Rprofile maybe?


+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)/¯ )