A collection of useful R methods and functions