Learn R Programming

EasyHTMLReport (version 0.1.1)

easyHtmlReport: 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

See Also

sendmailR::sendmail,markdown::markdownToHTML

Examples

Run this code
## 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)

Run the code above in your browser using DataLab