powered by
convert a dtm from package tm to sparseMatrix from package Matrix without converting it to full matrix.
DTMtoSparse(dtm)
a document-term-matrix from package 'tm'
a sparse dcgMatrix from package Matrix