Blogging with RStudio
While working with R I also stumbled across knitr, which allows writing really nice reports in $\LaTeX$ or Markdown with inline R. Really cool. Even better that someone has written some markdown templates for RStudio, that work together with hugo. This is a first test with a random example. it seems to work. Very cool.
Here is some sample R code which will produce the chart below.
library(ggplot2) dsamp <- diamonds[sample(nrow(diamonds), 1000), ] qplot(carat, price, data=dsamp, colour=clarity)