Description Usage Arguments Details See Also Examples
Import images from the folder.
1 | importImages(path = ".", display = FALSE)
|
path |
string input; directory of the folder, default is set to the working directory. |
display |
boolean input; toggle display of the images. |
The path
of the folder should end with /
, so that function will import all
filenames following that symbol.
1 2 3 4 5 | library(fr)
# Import all images in the directory "data/jaffe/"
imgData <- importImages("~/Documents/Data/jaffe/")
showFace(imgData) # display the images
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.