
upload_image(file, title = NULL, description = NULL, album = NULL, name = NULL, type = 'file', ...)
imgur_upload(file, title = NULL, description = NULL, album = NULL, name = NULL, type = 'file', ...)
file
filename is used.token
(an OAuth2.0 token) or key
(an API key, used by default).upload_image
allows users to upload a named file to Imgur. imgur_upload
is an alias that can serve as a drop-in replacement for the imgur_upload
function in the knitr package.imguR
dev.off
## Not run:
# pdf(tmpfile <- tempfile())
# hist(rnorm(20))
# dev.off()
# upload_image(tmpfile)
# ## End(Not run)
Run the code above in your browser using DataLab