[R] R 1.9.0 and pred.rpart

Giles Hooker gilesh at stanford.edu
Thu May 13 20:05:10 CEST 2004


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 at 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
>
>




More information about the R-help mailing list