Description Usage Arguments Value Author(s) See Also Examples
View source: R/EasyHTMLReport.R
Send HTML mail from Rmd file
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)
|
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. |
None
Yohei Sato
sendmailR::sendmail,markdown::markdownToHTML
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.