powered by
markdownToHTML()
knit2html(input, output = NULL, ..., envir = parent.frame(), text = NULL, quiet = FALSE, encoding = getOption("encoding"))
knit()
NULL
markdownToHTML
parent.frame()
new.env()
globale
file
text
knit
# a minimal example writeLines(c("# hello markdown", "```{r hello-random, echo=TRUE}", "rnorm(5)", "```"), "test.Rmd") knit2html("test.Rmd") if (interactive()) browseURL("test.html")
Run the code above in your browser using DataLab