This is an alternative tool to Sweave with a more flexible design and new features like caching and finer 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.
Full documentation and demos: https://yihui.org/knitr/; FAQ's: https://yihui.org/knitr/faq/
The core function in this package: knit
. If you are an
Sweave user, see Sweave2knitr
on how to convert Sweave files
to knitr.