I have a function to label as spam strings in a datasets. I use this function with success by calling:
dtm_english.label <- getSpamLabel(comment$rawMessage, dictionary_english, 2) # 2 is the threshold level
But then when I call
dtm_english.label <- ddply(comment, .(rawMessage), getSpamLabel, dictionary_english, 2, .progress = "text")
after ddply completes without any output the task I get
Error in do.call("c", res) : variable names are limited to 10000 bytes
I can post the function if relevant