knit_hooks

0th

Percentile

Hooks for R code chunks, inline R code and output

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.

Keywords
datasets
Usage
knit_hooks
format

List of 4 $ get :function (name, default = FALSE, drop = TRUE) $ set :function (...) $ merge :function (values) $ restore:function (target = value)

References

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

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

Aliases
  • knit_hooks
Examples
knit_hooks$get("source")
knit_hooks$get("inline")
Documentation reproduced from package knitr, version 1.7, License: GPL

Community examples

Looks like there are no examples yet.