% Slides by Aedin % Jun 2012 ```{r setup, include=FALSE} # set global chunk options opts_chunk$set(fig.path='figure/slides-', cache.path='cache/slides-', cache=TRUE) # upload images automatically opts_knit$set(upload.fun = imgur_upload) ``` # Making Slides - These is using html5 - which is easy (advantage) - but maybe doesn't have some of the fancier layout options of beamer # A bit R code ``` {r test1} a<-10 b<-20 myVec<-rnorm(5) a+b range(myVec) ``` # Graphics too ``` {r simpleplot, fig.height=6,fig.width=6, message=FALSE,fig.cap="A simple plot"} plot(1:10, col="red") ``` # R Session Info ```{r session-info} print(sessionInfo(), locale=FALSE) ```