Dont know if it will work but you can try ctree from the party package require(party) bla <- ctree(Class ~ Outlook + Temp + Humidity + Windy, data=dataframe) plot(bla) //Joel -- View this message in context: http://r.789695.n4.nabble.com/Rpart-query-tp2991198p2991417.html Sent from the R help mailing list archive at Nabble.com.