My utility functions for R at startup