Working through data analysis tutorials in R