Hi everyone,
I am conducting K means cluster with the package:
library(factoextra)
set.seed(123)
fviz_nbclust(df, kmeans, method = "wss") +
geom_vline(xintercept = 4, linetype = 2)
My dataset has ~3 million transaction records. However, when i run the above code, it took R more than 15 mins, and the error comes: "R session aborted. R encountered a fatal error. The session was terminated"
Could you please help me how i can deal with that problem!
Thank you so much!
P/S: I use R version 3.3.3 (2017-03-06). I use MacPro, core i7, 8GB, 1600 GHz