Main function to compile rmd to html
1 2 3 4 5 6 7 8 | compile.rmd(file = NULL, text = readLines(file, warn = FALSE),
envir = list(), if.blocks = c("ph", "render", "ignore")[1],
blocks = c("ph", "render", "ignore")[1], whiskers = c("ph", "render",
"render.as.text", "ignore")[1], chunks = c("ph", "knit", "render",
"ignore")[1], start.line = "<!-- START -->", end.line = "<!-- END -->",
set.utf8 = TRUE, out.type = "html", fragment.only = FALSE,
whiskers.call.list = NULL, blocks.call.list = NULL, add.info = TRUE,
use.commonmark = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.