removeSignature {tm.plugin.mail} | R Documentation |
Remove E-Mail Signatures
Description
Remove signature lines from an e-mail message.
Usage
## S3 method for class 'MailDocument'
removeSignature(x, ...)
Arguments
x |
A mail document. |
... |
the argument |
Author(s)
Ingo Feinerer
See Also
removeCitation
to remove e-mail citations, and
removeMultipart
to remove non-text parts from multipart
e-mail messages.
Examples
require("tm")
newsgroup <- system.file("mails", package = "tm.plugin.mail")
news <- VCorpus(DirSource(newsgroup),
readerControl = list(reader = readMail))
news[[7]]
removeSignature(news[[7]], marks = "^[+]-*[+]$")
[Package tm.plugin.mail version 0.2-2 Index]