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="pixmap")[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 Erin M. Hodgess, Ph.D. Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: hodgesse@uhd.edu<mailto:hodgesse@uhd.edu> [[alternative HTML version deleted]]
On Mar 22, 2013, at 18:53 , Hodgess, Erin 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="pixmap")[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.It's just a warning. The change is in NEWS. It's up to the pixmap package maintainer to get rid of the warning. -pd> > Thanks, > Erin > > Erin M. Hodgess, Ph.D. > Associate Professor > Department of Computer and Mathematical Sciences > University of Houston - Downtown > mailto: hodgesse at uhd.edu<mailto:hodgesse at uhd.edu> > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel-- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
On 22/03/2013 17:53, Hodgess, Erin 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="pixmap")[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.That is an error in a package (and no, it was not all right: how can NULL ever be replicated to length 2?). I presume package pixmap, but you did not tell us. After all these years you should have read the posting guide and know to send such comments to the package maintainer.> > Thanks, > Erin > > Erin M. Hodgess, Ph.D. > Associate Professor > Department of Computer and Mathematical Sciences > University of Houston - Downtown > mailto: hodgesse at uhd.edu<mailto:hodgesse at uhd.edu> > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595