Another way: require(sp) require(rgdal)
library(rgdal) ## read using one of the many GDAL drivers d <- readGDAL("im.bmp") summary(d) ## map colours for RGB and display col <- SGDF2PCT(d) d$idx <- col$idx image(d, "idx", col = col$ct) ## Available drivers: gdalDrivers() Milton Cezar Ribeiro wrote: >/ Hi R-gurus />/ />/ How can I read my "bmp" files into R? />/ />/ Kind regards, />/ />/ />/ miltinho />/ Brazil / >/ / ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.