View source: R/read_image_from_url.R
read_image_from_url | R Documentation |
Read either a PNG or JPG file from a URL. This function reads an image file (PNG or JPG) from a URL and returns the image data.
read_image_from_url(path)
path |
A character string representing the URL of the image file. |
An object containing the image data. If the image is a JPG, the object will be of class "array". If the image is a PNG, the object will be of class "matrix".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.