I cannot reproduce the problem using tm_0.6 in R 3.1.0 on Mac:
> data.frame(text=unlist(sapply(mycorpus, `[`, "content")), stringsAsFactors=FALSE) text content a small thread was loos on the sandals, otherwis it look good
If I got these unwanted results, I would immediately try:
data.frame(text=unlist(sapply(mycorpus, `[[`, "content")), stringsAsFactors=FALSE)
... arguing that since 'constent' is the name of the list that [['content']] should have been able to be sequentially retrieved. He also looked at me that a list might not be necessary for this approach:
> data.frame(text=sapply(mycorpus, `[[`, "content"), stringsAsFactors=FALSE) text 1 a small thread was loos on the sandals, otherwis it look good
source share