A general-purpose tool for dynamic report generation in R

This is an alternative tool to Sweave with more flexible design and new features like cache and fine control of graphics. It is not limited to LaTeX and is ready to be customized to process other file formats. See the package website in the references for more information and examples.


The pronunciation of knitr is similar to neater (neater than what?) or you can think of knitter (but it is single t). The name comes from knit + R (while Sweave = S + weave).


Full documentation and demos:; FAQ's:

See Also

The core function in this package: knit

  • knitr
  • knitr-package
Documentation reproduced from package knitr, version 0.9, License: GPL

Community examples

Looks like there are no examples yet.