RE: [R] R 1.9.0 and pred.rpart

About this list Date view Thread view Subject view Author view Attachment view

From: Liaw, Andy (andy_liaw@merck.com)
Date: Fri 14 May 2004 - 08:56:36 EST


Message-id: <3A822319EB35174CA3714066D590DCD504AF7D92@usrymx25.merck.com>

Is it possible that you somehow have a copy of predict.rpart in your global
environment, that is overriding the one in the package?

Andy

[ps: R-1.7.3? Where did you find such a version?]

> From: Giles Hooker
>
> I installed from the CRAN website:
>
> install.packages(rpart)
>
> and also checked
>
> old.packages()
>
> which returned NULL.
>
> More clues?
>
> Giles Hooker
>
>
> > Giles Hooker wrote:
> > > I have just upgraded from R 1.7.3 to R 1.9.0 and have
> found that the
> > > predict function no longer works for rpart:
> > >
> > >
> > >>predict(hmmm,sim3[1:10,])
> > >
> > > Error in predict.rpart(hmmm, sim3[1:10, ]) :
> > > couldn't find function "pred.rpart"
> > >
> > > I have re-installed the rpart package to no avail. Any ideas?
> >
> > You need to (re-)install a recent version of rpart (that
> might be the
> > case for other contributed packages as well!).
> >
> > Uwe Ligges
> >
> >
> > > Giles Hooker
> > >
> > > ______________________________________________
> > > R-help@stat.math.ethz.ch mailing list
> > > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> > > PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
> >
> >
>
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
>

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:10 EST