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
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
Probably not a good idea but
if (interactive()) {
suppressMessages(require(tidyverse))
}
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)/¯ )