updated with Rmarkdown and Rstudio changes