I am using the R package tm and I want to do some text mining. This is one document and is treated as a bag of words.
tm
I don\'t understand the documenta
Can't you just use the function readPlain from the same library? Or you could just use the more common scan function.
readPlain
scan
mydoc.txt <-scan("./mydoc.txt", what = "character")