removeCitation | R Documentation |
Remove citations, i.e., lines beginning with >
, from an e-mail
message.
## S3 method for class 'MailDocument' removeCitation(x, ...)
x |
A mail document. |
... |
the argument |
Ingo Feinerer
removeMultipart
to remove non-text parts from multipart
e-mail messages, and removeSignature
to remove signature
lines from e-mail messages.
require("tm") newsgroup <- system.file("mails", package = "tm.plugin.mail") news <- VCorpus(DirSource(newsgroup), readerControl = list(reader = readMail)) news[[8]] removeCitation(news[[8]]) removeCitation(news[[8]], removeQuoteHeader = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.