View source: R/materialmodifier.R
im_load | R Documentation |
Load image from file or URL
im_load(file, name)
file |
path to file or URL |
name |
a string for name attribute. if missing, inferred from the file argument. |
an array of image data
## Not run:
# load an image from disk
im = im_load("path/to/your/image.jpg")
plot(im)
## End(Not run)
# load an image from URL
im = im_load("http://placehold.jp/150x150.png")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.