generalizing .Rprofile