updated with new features from latest Rstudio

Much more info here: http://rmarkdown.rstudio.com/index.html