The RStudio crashed each time I trained my DecisionTree model with 11 variables and a dataset file size around 2.7M (27,820 records).
I found it related to the algorithm (ctree) in library party. It can only handle around 500 records training dataset without crash. If I trained the ctree decisiontree with more than 1,000 records, it crashed each time.
The code is as below:
apply Decision Tree algorithm
library(party) # this step crash each time with more than 1,000 records treeModel = ctree(classVar ~ ., data=DTtrainSet) " Cheers !!! Steven