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.
-
RCurl and XML packages- avaiilable from CRAN
install.packages(c("RCurl", "XML"))
-
imguR itself
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 ([email protected])
Last updated 31st August 2010