Simon Pickett <simon.pickett <at> bto.org> writes: > But my code returns an error > > x<-read.pnm("C:/Documents and Settings/simonp/My Documents/Simon BTO/RELU/GIS data/ten km areas in analysis.bmp") > Error in pm.readmagicnumber(con) : Not a PNM format file
Error message seems quite clear: bmp a non-supported format. Some year ago, the wisdom was to convert your images using imagemagick http://finzi.psych.upenn.edu/R/Rhelp02/archive/23131.html But read.jpeg should work (another variant in rimage), if that's good enough for your graphics Dieter ______________________________________________ R-help@r-project.org 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.