I am writing a wrapper in R for the dev.to API. One of the goals is to allow images that are generated from an .Rmd to be visible in the post.
I thought I might be able to use the
googledrive package to put images into my gdrive, but I haven't been able to find a way to get a link that shows up in dev.to
Imgur used to support anonymous uploads and have an API wrapper to R, but the package in question has been looking for a new maintainer. Also, in a really quick test the current codebase appears broken.
I could setup my own s3 bucket, and link the images from there, however that requires a lot of setup for other users, I wanted to keep this as 'low barrier' as possible.
RPubs allows uploads of documents from Rstudio IDE really easily, though AFAIK you can't then pull an actual link out of the image that will display in the article, for instance this old plot I made for an SO question
- Needs to be easy to setup
- Needs to be effectively free
- Needs to be accessible programmatically (API etc)
- Would be great if there was no authorisation required
- Would be great if there was already an interface with R