I am trying to run this code on R-studio, which is on sentimental analysis.
wordcloud(positive_tweets$Review, max.words = 100, scale = c(3,0.5))
But every time I run it, I get the following code:
Error in plot.new() : figure margins too large
In addition to the warning message, R-studio is displaying the following:
1: In tm_map.SimpleCorpus(corpus, tm::removePunctuation) : transformation drops documents 2: In tm_map.SimpleCorpus(corpus, function(x) tm::removeWords(x, tm::stopwords())) : transformation drops documents.
Is there any other way that I can fix this error?