How to install the ‘RWordPress’ package in R

The RWordPress package is a very convenient tool for publishing blog posts from R to WordPress. In his blog post Publish blog posts from R + knitr to WordPress, Yihui Xie explains how to install and use the package. Furthermore, the blog post How to publish with R Markdown in WordPress gives some additional information on how to use the package.

However, the package repository does not seem to exist anymore (2016-08-30).

Fortunatelly, the RWordPress package is also available from Github and, thus, can be easily installed using the devtools package.

Since RWordPress depends on the packages RCurl, XML, and XMLRPC, these packages need to be installed before we can actually install RWordPress.

Unlike RCurl and XML, the XMLRPC package is not available from the CRAN repository. Instead, it is available from Github.

Here is the code to install all required packages:


Author: norbert

Biometrician at Clinical Trial Centre, Leipzig University (GER), with degrees in sociology (MA) and public health (MPH).

14 thoughts on “How to install the ‘RWordPress’ package in R”

  1. After going over a number of the blog articles on your blog, I seriously like your technique of writing a
    blog. I saved it to my bookmark site list and will be checking back in the near future.
    Please check out my web site as well and tell me your opinion.

  2. I’ll definitely check this package out. For a while I thought WordPress supported LaTeX only. Thank you.

  3. Thank you for the wonderful information, has something happened to the package? I cannot get any of RWordPress’s functions to post my .rmd files to my blog. The reoccurring error i get is:

    Error: faultCode: 401 faultString: Sorry, you are not allowed to publish posts on this site.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: