[R] DocumentTermMatrix

Patrick Casimir patrcasi at nova.edu
Thu Dec 1 21:48:26 CET 2016


My dtm is showing the 4 files in the corpus correctly, but the number of terms is incorrect at 0. What can cause that?

dtm <- DocumentTermMatrix(docs)
dtm
## <<DocumentTermMatrix (documents: 4, terms: 0)>>


______________________________________________
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list