attached is the data set which generates the rgui.exe cpu loop... here are commands :
library(rpart) train<-read.csv("traindata.csv",header=T) y<-as.numeric(train[,18]) x<-train[,1:3] fit<-rpart(y~.,x) On Thu, Apr 22, 2010 at 9:25 AM, Terry Therneau <thern...@mayo.edu> wrote: > --- Begin included message > > I have attempted to email the author of this package without success, > just wondering if anybody else has experienced this. > > I am having an using rpart on 4000 rows of data with 13 attributes. > I can run the same test on 300 rows of the same data with no issue. > When I run on 4000 rows, Rgui.exe runs consistently at 50% cpu and the > UI hangs.... it will stay like this for at least 4-5hours if I let it > run, and never exit or become responsive. > > here is the code I am using both on the 300 and 4000 size subset : > > train<-read.csv("input.csv",header=T) > y<-train[,18] > x<-train[,3:17] > library(rpart) > fit<-rpart(y~.,x) > > Is this a known limitation of rpart, am I doing something wrong? > potential workarounds? > > ------------- > > I don't remember seeing a message from you. If I accidentally deleted > one along with the daily junk mail I apologize. > I run rpart on larger problems than this without issue. I'd have to > see the data; perchance you have found a never-before-seen infinite > loop. > Terry Therneau > > >
______________________________________________ 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.