load.dir | R Documentation |
Load all images in a directory and return them as an image list.
load.dir(path, pattern = NULL, quiet = FALSE)
path |
directory to load from |
pattern |
optional: file pattern (ex. *jpg). Default NULL, in which case we look for file extensions png,jpeg,jpg,tif,bmp. |
quiet |
if TRUE, loading errors are quiet. If FALSE, they are displayed. Default FALSE |
an image list
Simon Barthelme
path <- system.file(package="imager") %>% paste0("/extdata")
load.dir(path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.