R Crashes when training using caret and method = gamLoess
问题 When I run the code below, R crashes. If I comment out the tuneGrid line in the call to train, there is no crash. I've tried this with another dataset, and still crash R. Crash message is R Session Aborted R encountered a fatal error The session was terminated Start new session. The code is: library(splines) library(foreach) library(gam) library(lattice) library(ggplot2) library(caret) # crashes when I uncomment the tuneGrid = tuneGrid line Set_seed_seed <- 100 data_set <- diamonds[, c(1, 5,