Unsorted R functions and utilities.