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:


About norbert

Biometrician at Clinical Trial Centre, Leipzig University (GER), with degrees in sociology (MA) and public health (MPH).
This entry was posted in Data Management, Fav R Packages, Tips & Tricks. Bookmark the permalink.

14 Responses to How to install the ‘RWordPress’ package in R

  1. Thank you so much for this post. I was about to get mad trying to install the RWordPress package.

  2. 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.

  3. dkmathstats says:

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

  4. cyrus says:

    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.

  5. Pingback: R Markdown to WordPress Demo | Jonathan L. Moscovici

  6. Hello there, You have done a fantastic job.
    I will definitely digg it and personally recommend to my friends.
    I’m sure they’ll be benefited from this site.

  7. Pingback: Post from RStudio to WordPress – QuantOwl

  8. Pingback: Publishing from R to WordPress – Michael Harper

  9. Pingback: How to Upload R Markdown Directly to WordPress – Data Blog on the Run

  10. Thіs article ԝill help the internet viewers for setting up new web site or еven a
    blog fгom start to end.

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 )

Google photo

You are commenting using your Google 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.