---
title: Manual
subtitle: The package manual
date: '2011-12-05'
slug: manual
---

The package manual itself can be a good example demonstrating most of the features in **knitr**. It was actually written in LyX ([knitr-manual.lyx](https://github.com/yihui/knitr/blob/master/inst/examples/knitr-manual.lyx)), and you can use the exported Rnw source [knitr-manual.Rnw](https://github.com/yihui/knitr/blob/master/inst/examples/knitr-manual.Rnw) to produce the PDF output [knitr-manual.pdf](https://github.com/yihui/knitr/releases/download/doc/knitr-manual.pdf).

Three add-on packages are required to compile the manual: **rgl**, **animation** and **tikzDevice**.

See the [LyX page](../lyx/) for instructions on how to use **knitr** with LyX.
