knit_exit | R Documentation |
Sometimes we may want to exit the knitting process early, and completely
ignore the rest of the document. This function provides a mechanism to
terminate knit()
.
knit_exit(append, fully = TRUE)
append |
A character vector to be appended to the results from
|
fully |
Whether to fully exit the knitting process if |
Invisible NULL
. An internal signal is set up (as a side
effect) to notify knit()
to quit as if it had reached the end of the
document.
# see https://github.com/yihui/knitr-examples/blob/master/096-knit-exit.Rmd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.