convertMboxEml {tm}R Documentation

Convert E-Mails From mbox Format To eml Format

Description

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.

Usage

convertMboxEml(mbox, EmlDir)

Arguments

mbox a character or connection describing the mbox location.
EmlDir a character describing the output directory.

Value

No explicit return value. As a side product the directory EmlDir contains the e-mails.

Author(s)

Ingo Feinerer

Examples

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/")

[Package tm version 0.3-3 Index]