Last data update: 2014.03.03
|
R: Easy to send HTML reports.
easyHtmlReport | R Documentation |
Easy to send HTML reports.
Description
Send HTML mail from Rmd file
Usage
easyHtmlReport(rmd.file, from, to, subject, headers = list(), control = list(),
markdown.options = c("hard_wrap", "use_xhtml", "smartypants"),
stylesheet = "",echo.disable=TRUE,is.debug=F)
Arguments
rmd.file |
R Markdown file.
|
from |
mail from.
|
to |
mail to.
|
subject |
mail subject.
|
headers |
mail headers.
|
control |
mail control.
|
markdown.options |
markdownToHTML options.
|
stylesheet |
stylesheet file.
|
echo.disable |
if echo.disable=TRUE, to set the "echo=FALSE" and "message=FALSE"
|
is.debug |
if is.debug==TRUE, Do not send mail.
|
Value
None
Author(s)
Yohei Sato
See Also
sendmailR::sendmail,markdown::markdownToHTML
Examples
## Not run:
rmd.file <- "sample.Rmd"
mail.from <- "yokkuns@tkul.jp"
mail.to <- "yokkuns@tkul.jp"
mail.subject <- "Easy HTML Report"
easyHtmlReport(rmd.file,mail.from,mail.to,mail.subject)
## End(Not run)
Results
|