Moved local actions from .Rprofile to .Rpatches.