On Mar 22, 2013, at 4:04, Erin Hodgess <erinm.hodg...@gmail.com> wrote:
> Dear R People: > > I am trying to replicate a cool example that I saw on the R-bloggers some > time ago by kafka399. > > Here are the lines tI think may be causing the trouble: > > gray_file <- read.pnm(path) > > pos[i,] <- c(gray_file@grey) Hi Erin, This is basically impossible to debug as is -- though I do note you spell that color between white and black inconsistently; could you please put some effort into making a true reproducible example or, at the very least, linking to the project you are attempting to replicate? Michael http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example > > The warning error that I get is > "In rep(cellres, length=2): x is NULL so the result will be NULL > > Any suggestions would be much appreciated. > > Thanks, > Sincerely, > Erin > > > > > > -- > Erin Hodgess > Associate Professor > Department of Computer and Mathematical Sciences > University of Houston - Downtown > mailto: erinm.hodg...@gmail.com > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. [[alternative HTML version deleted]] ______________________________________________ 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.