Hadoop Online Training by Edureka

save.corpus.to.files: Save corpus to text (and RData) file.

Description Usage Arguments


Small utility to save a corpus to a text file (and RData file) for ease of use.

It is possibly recommended to pass a filename to the C++ function textreg rather than the entire corpus for large text since I believe it will otherwise copy over everything due to the coder's (my) poor understanding of how RCpp converts objects.


save.corpus.to.files(bigcorp, filename = "corpus")



A tm Corpus object.


The first part of the filename. A rda and txt extension will be appended to the two generated files.

Search within the textreg package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.