Last chance! 50% off unlimited learning
Sale ends in
imgur(device = png, file = NULL, title = NULL, description = NULL, album = NULL, name = NULL, key = NULL, token = NULL, ...)
png
.file
filename is used.NULL
, the default imguR package API key is used.imgur_login
. If NULL
, the API key used instead.imgur_off
.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.
imgur_off
upload_image
## Not run:
# i <- imgur('png')
# hist(rnorm(20))
# imgur_off(i)
# ## End(Not run)
Run the code above in your browser using DataLab