This is a simple package which enables intuitive uploading of plots created in R to the free image hosting service www.imgur.com simply, quickly and intuitively.
install.packages(c("RCurl", "XML"))
download.file("http://github.com/downloads/astatham/imgur-R-Package/imguR_0.1.2.tar.gz", "imguR_0.1.2.tar.gz")
install.packages("imguR_0.1.2.tar.gz", repos=NULL, type="source")
> library(imguR)
> imguR()
> plot(x=1:10, y=-1:-10, col=1:10, pch=19, main="oh hai dere")
> dev.off()
[1] "http://imgur.com/nsDOm"
Or check out this gist for an idea of some cool automation you can do using imguR().
Aaron Statham (aaron.l.statham@gmail.com)
Last updated 31st August 2010
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.