Transfering Rnw tutorial to Rmd