Nothing
data(mtcars)
This example shows how to generate chunk labels dynamically with the brew syntax. It was motivated by the SO question: http://stackoverflow.com/q/12095113/559676
library(knitr) src = NULL pat_brew() # use brew syntax first for (cur.cyl in unique(mtcars$cyl)) { src = c(src, knit(text = readLines('041-label-i-child.tpl'))) } # continue with markdown syntax and hooks pat_md() render_markdown() # knit the generated R markdown source out = knit(text = src)
cat(out, sep = '\n')
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.