Just start my learning about text mining, followed the book, I used tm::inspect() to see the first information in data "crude", but unlike the example on that book, R showed me the following things instead of the detail information like the book said.
I want to know why would this happened? and how could I correct it? Thanks! (Sorry for my poor English lol..)
my code:
library(tm)
data(crude)
inspect(crude[1])
summary(crude)
and the output:
> inspect(crude[1])
<<VCorpus>>
Metadata: corpus specific: 0, document level (indexed): 0
Content: documents: 1
$`reut-00001.xml`
<<PlainTextDocument>>
Metadata: 15
Content: chars: 527
> summary(crude)
Length Class Mode
127 2 PlainTextDocument list
144 2 PlainTextDocument list
191 2 PlainTextDocument list
194 2 PlainTextDocument list
211 2 PlainTextDocument list
236 2 PlainTextDocument list
237 2 PlainTextDocument list