knit_hooks: Hooks for R code chunks, inline R code and output

Description Usage Format References Examples

Description

A hook is a function of a pre-defined form (arguments) that takes values of arguments and returns desired output. The object knit_hooks is used to access or set hooks in this package.

Usage

1

Format

An object of class list of length 5.

References

Usage: https://yihui.name/knitr/objects/

Components in knit_hooks: https://yihui.name/knitr/hooks/

Examples

1
2
knit_hooks$get("source")
knit_hooks$get("inline")

yihui/knitr documentation built on Dec. 7, 2018, 11:09 a.m.