Easy to send HTML reports.

Share:

Description

Send HTML mail from Rmd file

Usage

1
2
3
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

1
2
3
4
5
6
7
8
## 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)