yihui/knitr — Issue #91: Possible Bug: dev = tikz, external = FALSE
Author: ramnathv
Created: 2012-01-20 01:38:04+00:00
State: open

When I use chunk option `dev = tikz` along with `external = FALSE`, I get an error. Here is a reproducible example

```latex
\documentclass{article}
\begin{document}

<>=
x = 1:10
plot(x, x)
@
\end{document}
```

If I change it to `external = TRUE` everything works fine. I am not sure if it is a bug in `tikzdevice` or `knitr`.