R-graph-gallery icon indicating copy to clipboard operation
R-graph-gallery copied to clipboard

Issue with #102

Open holtzy opened this issue 4 years ago • 0 comments

Anyhow I'm currently trying myself at 102 Figure and the code did not work as the tm package requests another input apparently.

Here what I think has to be changed:

-- STEP2 : COMPUTE DOCUMENT CORPUS TO MAKE TEXT MINING

convert each list content into a corpus

dataset_corpus <- lapply(dataset_s, function(x) VCorpus(VectorSource( toString(x) ))) --> it needs to be the VCorpus not Corpus function.

Link to 102 Figure: https://www.r-graph-gallery.com/102-text-mining-and-wordcloud.html

Thank you sooo much!

holtzy avatar Dec 12 '20 09:12 holtzy