convertMboxEml {tm} | R Documentation |
Convert e-mails from mbox (i.e., several mails in a single box) format to eml (i.e., every mail in a single file) format.
convertMboxEml(mbox, EmlDir)
mbox |
a character or connection describing the mbox location. |
EmlDir |
a character describing the output directory. |
No explicit return value. As a side product the directory
EmlDir
contains the e-mails.
Ingo Feinerer
mbox <- system.file("texts", "gmane.comp.lang.r.general.mbox", package = "tm") ## Not run: convertMboxEml(mbox, "emldir/") mbox.gz <- gzfile(system.file("texts", "gmane.comp.lang.r.general.mbox.gz", package = "tm")) ## Not run: convertMboxEml(mbox.gz, "emldir/")