This is off-topic in this forum. Please go to R-devel for questions about R-beta. --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnew...@dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity.
Erin Hodgess <erinm.hodg...@gmail.com> wrote: >In R-beta (Masked Marvel), when I do the example from the read.pnm help >file, this is what happens: > >x <- read.pnm(system.file("pictures/logo.pgm",package="pixmpap")[1]) >Warning message: >In rep(cellres, length=2): x is NULL so the result will be NULL > >In R-2.15.3, it's all right. > >Thanks, >Erin > > >On Fri, Mar 22, 2013 at 2:13 AM, Michael Weylandt < >michael.weyla...@gmail.com> wrote: > >> >> >> 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. >> >> ______________________________________________ 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.