plot: Plot Imgur image

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Plot an “imgur_image” object

Usage

1
2
3
4
## S3 method for class 'imgur_image'
plot(x, ...)
## S3 method for class 'imgur_gallery_image'
plot(x, ...)

Arguments

x

An object of class “imgur_image” or “imgur_gallery_image”.

...

Other arguments passed to HTTP request functions, for example: token (an OAuth2.0 token) or key (an API key, used by default).

Details

Plot an object of class “imgur_image” or “imgur_gallery_image” in an R graphics window.

Value

Invisibly, an object of class “imgur_image” or “imgur_gallery_image”.

Author(s)

Thomas J. Leeper

See Also

get_image

Examples

1
2
3
4
## Not run: 
plot(get_image("vSXfU46"))

## End(Not run)

imguR documentation built on May 2, 2019, 4:02 p.m.