powered by
Load an image using the load.image function from imager package
imRead(file)
an object of class "cimg"
path to file
load.image
if (interactive()) { file_path <- system.file("img", "AFO1046.1200dpi.png", package = "xRing") im <- imRead(file_path) imDisplay(im) }
Run the code above in your browser using DataLab