openBsdocReport | R Documentation |
Opens an html report using bsdoc()
from the ReporteRs package. Also adds some introductory elements.
openBsdocReport(title = "")
closeBsdocReport(doc, file, titles = NULL)
title |
a character specifying the title of the html report. |
doc |
an object of the class bsdoc to write and close. |
file |
a character specifying the path to write the report in. |
titles |
a character vector containing the titles of the report. Used to create the bootstrapmenu. |
Returns an object of the class bsdoc to add further elements.
closeBsdocReport
: Adds the session info, the bootstrap menu, a paragraph showing the finishing time and writes the document. file
must have a .html suffix.
Rehrauer, Hubert
Schmid, Peter
bsdoc
writeDoc
theDoc = openBsdocReport(title="My html report")
closeBsdocReport(doc=theDoc, file="example.html")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.