Is there a way to remove from the autocomplete all objects associated to libraries that are not in the global environment, aside from their functions?
For example the plyr package loads baseball. I want to remove all these dataframe loaded by packages because I don't want them in memory and also because the autocomplete function looks through all these objects that I never use.
Is there code or an option to remove these objects systematically or force libraries only to load their functions and the strictly necessary objects?