I am using the library ‘pixmap’ to do image analysis in R.My code is:
library('pixmap') image <- read.pnm("C:/Users/Dataset/Downloads/image.ppm")
When I execute the following pieces in code,please notice the dissimilarity in the outputs.
Whereas str(image) shows that the image is stored in some sort of matrix,just typing image into the console displays some details about the image.
Why is it like that?Shouldn’t the matrix be shown when I type in image.