I am doing text data classification. The naive Bayes is working, but i am having troubles with SVM
> classifier.svm <- svm(formula = Label ~ ., data = train, type='C-classification', kernel = 'linear')
Error: protect(): protection stack overflow
Tried suggestions from here https://stackoverflow.com/questions/32826906/how-to-solve-protection-stack-overflow-issue-in-r-studio
rstudio.exe --max-ppsize=5000000
options(expressions = 5e5)
but still same mistake