Publishing to Rpubs.com directly from Emacs

This is an attempt to publish and subsequently update a document using
the Rpubs.com toolchain in Emacs. (RMD -> Markdown -> HTML -> Rpubs)


library(ggplot2)

Sample


df1 <- data.frame(x = rnorm(1000))

density plot


ggplot(df1, aes(x)) + geom_density()

plot of chunk unnamed-chunk-3