Masked function from package instead of own environment


I try to mask a function from the base package (e.g. base::cat) in my .RProfile file and put it in a environment (let's name that "myFunctions") so that it is globally available in all my scripts.
But sometimes I use a package which also masks that function (as R.utils in the case of "cat") and as this package comes before my environment in search() this implementation is used, and not mine.

Is there a way to change the order in search() without detach my enviroment and attach it again?
Shouldn't be my own environments always be first after .GlobalEnv?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.