My rstudio.cloud project is here.
Per this thread, I've already tried restarting my r session but that didn't resolve the issue.
The issue occurs when I try to train a
caret machine learning model. Here's a fake example of the code:
foo.model <- train(label ~ ., data = train.df, method = 'gbm', trControl = objControl, metric = "ROC", preProc = c("center", "scale"))
I've even tried removing various objects (e.g., large dataframes) prior to training the model to see if that helps with memory. It doesn't seem to have an effect. What should I do so that my session doesn't continue crashing? Thanks!