An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090409/5608b677/attachment-0001.pl>
reading an image and adding a legend
2 messages · Simon Pickett, Dieter Menne
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