Complete Rmd file