Learn R Programming

knitrBootstrap (version 0.9.0)

primerTree: knitrBootstrap A framework to create Bootstrap 3 HTML reports from knitr Rmarkdown and RHTML. See knit_bootstrap for the common usage. If you are using RStudio, see the second example

Description

knitrBootstrap A framework to create Bootstrap 3 HTML reports from knitr Rmarkdown and RHTML. See knit_bootstrap for the common usage. If you are using RStudio, see the second example

Arguments

Examples

Run this code
#defaults only
knit_bootstrap('file.Rmd')
#Rstudio
#you also have to put render_html() in your rmd setup file, then use the
below code and the knit button
options(rstudio.markdownToHTML =
 function(inputFile, outputFile) {
   require(knitrBootstrap)
   knit_bootstrap_md(input=inputFile, output=outputFile)
 }
)

Run the code above in your browser using DataLab