I\'m completely new in R and tm package, so please excuse my stupid question ;-) How can I show the text of a plain text corpus in R tm package?
I\'ve loaded a corpu
We can get the content of every item in the corpus.
content
data("crude") out <- sapply(crude, function(x){x$content}) out # optionally export writeCorpus(out, "outputdir/", filenames = "corpus.txt")
I had the same issue, and corpus[[1]]$content worked for me