Miscellania of R functions to non specific purposes.