First attempt ============== Simple R code ------------- ``` {r test1} a<-10 b<-20 myVec<-rnorm(5) a+b range(myVec) ``` Now test if it will write text within the document, the sum of the above analysis is `r sum(a+b)`. Creating a plot ---------------- ``` {r simpleplot, fig.height=3,fig.width=3, message=FALSE} plot(1:10, col="red") ``` Conclusion ------------- Isn't that **grand** and *super*.