save.corpus.to.files {textreg} | R Documentation |
Save corpus to text (and RData) file.
Description
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.
Usage
save.corpus.to.files(bigcorp, filename = "corpus")
Arguments
bigcorp |
A tm Corpus object. |
filename |
The first part of the filename. A rda and txt extension will be appended to the two generated files. |
[Package textreg version 0.1.5 Index]