This function closes the specified graphics device uploads the plot(s) to Imgur.
An object of class “imgur_device”.
Additional arguments passed to
This function takes the output object from
imgur as its first argument, wraps
dev.off to close the graphics device opened by
imgur, and uploads the device's image to Imgur via
dev.off has already closed the device, that step is skipped to prevent errors.
The response from
Thomas J. Leeper, based on code by Aaron Statham.
1 2 3 4 5 6