Class 6 exercise Rmd