I have been able to successfully post to WordPress using knit2wp, even with images.
Even possessing such talent, I am not infallible. Indeed, even the above took some work.
I’d like to be able to update posts later.
Apparently, the RWordPress package allows for deletion of posts, but that doesn’t help much if one cannot read the metadata of a post, delete it, post a new post, and update the metadata â¦Â and I do not offhand see an option or function to just update a post.
Any and all suggestions welcome. Thank you.
As you’ve alluded to, the RWordPress package in R does not support editing of posts. RWordPress uses the XML-RPC interface to interface with WordPress however, so you’d need to either:
You can read more about the WordPress XML-RPC methods in the WordPress Codex: http://codex.wordpress.org/XML-RPC_WordPress_API/Posts#wp.editPost
The most recent version of knit2wp supports editing of posts. Case closed.