I use R 3.5.1 in RGui/RStudio and a '.Rprofile' file in my user's home directory with a single entry to preload the package 'tidyverse': library(tidyverse)
When wanting to use the filter()
function of package 'dplyr' it gets masked by the filter()
function of package 'stats', that has been loaded as a default package AFTER sourcing '.Rprofile' in the R startup process.
This behaviour seems to be contradictory to what ?Startup
tells us: "Note that when the site and user profile files are sourced only the base package is loaded, so objects in other packages need to be referred to by e.g. utils::dump.frames or after explicitly loading the package concerned."
Can someone tell me please, why the default packages like 'stats' are beeing loaded despite of using a user profile file? Thanks a lot!