R functions frequently used.