R I use R a lot. Here are code snippets for some useful tasks. First, get the latest version of R and R Studio.