Introduction
With R and Markdown one can create reports for HTML, PDF or even Word (see RStudio Markdown,Markdown). In addition to the comfortable generation of Markdown reports (there is also a LaTeX based version) it is also possible to directly generate WordPress blog entries from R with R Markdown (.Rmd files). This is possible with the RWordPress package that allows to send parts of R Markdown to a WordPress blog.
Download: PublishBlogPosts.pdf
Template:
Use the template file to upload your R Markdown files to your WordPress site. First replace Replace in the wordpress chunk on the top of the template file with your WordPress login parameters and url. Then run the wordpress chunk on the top of the template file to publish the content of the template file on your WordPress website.
Download: RMarkdownTemplate.Rmd
Continue reading „How to publish with R Markdown in WordPress“