[R] rpart package

Erik Iverson eriki at ccbr.umn.edu
Thu Aug 12 20:18:10 CEST 2010



Olga Shaganova wrote:
> Hi,
> 
> I am a brand new user and may be my question is too simple. I have R on
> our (not Unix) server. I am trying to build a decision tree and the error
> message says "couldn't find function rpart". Does it mean I have to ask our
> server guy to install an additional package?

You have to load the "rpart" package

 > library(rpart)

If that succeeds, you should have the rpart function available. I think
rpart is a recommended package, so you should be OK.



More information about the R-help mailing list