yihui/knitr — Issue #21: \SweaveOpts ignored and retained in document
Author: halpo
Created: 2011-11-23 20:36:46+00:00
State: open

File level options specified through the `\SweaveOpts{}` as mentioned in the vignette are not removed from the document. When compiling with pdflatex I get the error.
```
! Undefined control sequence.
l.387 \SweaveOpts
{cache=T)
```
It appears that these options are both ignored and retained when knitting the document.