Learn R Programming

imguR (version 0.1.5)

to.imguR: imguR Graphics Device

Description

Copies the current graphics device to imgur.com

Usage

to.imguR()

Arguments

Value

  • imguR is invoked for its side effect and returns nothing

Details

This package is a wrapper for the pdf function. A temporary file is created by pdf, acting as normal graphical device. After plotting, when dev.off is called, the file is closed, uploaded to imguR and a URL of the files location is returned. In the case of multipaged pdfs being uploaded, imguR automatically concatenates them into a single image.

References

http://www.imgur.com http://github.com/astatham/imgur-R-Package

See Also

dev.off imguRupload

Examples

Run this code
plot(x=1:10, y=-1:-10, col=1:10, pch=19, main="oh hai dere")
cat(to.imguR())

Run the code above in your browser using DataLab