Some R functions I commonly use.