For more details on using R Markdown see http://rmarkdown.rstudio.com.
We need to install R package servr to convert Rmd to Markdown.
install.packages('servr') # stable version; use a CRAN mirror, or
install.packages('servr', repos = 'http://yihui.name/xran') # devel version
### run the following:
library(servr)
jekyll(dir = ".", input = c(".", "_source", "_posts"),
output = c(".", ".", "_posts"), script = c("Makefile", "build.R"), serve = FALSE,
command = "jekyll build")
The other steps are the same as using Markdown for a post.