Get your packages below install.packages("devtools") install.packages("RCurl") install.packages("XML") devtools:::install_github("duncantl/XMLRPC") devtools:::install_github("duncantl/RWordPress") library(XML) library(XMLRPC) library(RWordPress) library(knitr) Wordpress has convinient feature called XMLRPC. This will directly upload the R markdown Rmd file to your Wordpress.Package knitr is for ..