# knit_exit

From knitr v1.7
0th

Percentile

##### Exit knitting early

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().

##### Usage
knit_exit(append)
##### Arguments
append
a character vector to be appended to the results from knit() so far; by default, it is document for LaTeX output, and for HTML output to make the output document complete; for other types of
##### Value

• 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.

• knit_exit
##### Examples
# see https://github.com/yihui/knitr-examples/blob/master/096-knit-exit.Rmd
Documentation reproduced from package knitr, version 1.7, License: GPL

### Community examples

Looks like there are no examples yet.