powered by
markdownToHTML()
knit2html(input, ..., text = NULL, envir = parent.frame())
markdownToHTML
new.env()
text
NULL
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