[R] asking about R Code

2012-10-26 Thread Ellen Praman
Hi, my name is Ellen. I want to ask you about R Code. I got a code for extracting a pixel value, but I can't compile it..  It is said Error in is.data.frame(x) : object 'lena' not found Here is the original full code: library(pixmap) lena - read.pnm(oldlennablur.pgm)

Re: [R] asking about R Code

2012-10-26 Thread Jeff Newmiller
You seem to be quite lost. You should execute one statement at a time, and troubleshoot from there. I suspect that your attempts to get your file in the right place went wrong, or the file is the wrong type of file for that function (regardless of the name you gave it). As for giving you an