I am trying out Knitr with RStudio. The output of plot() is now showing up in the compiled PDF.
Below is an example. The code shows up in the PDF, but not the plot.
\documentclass[11pt]{article}
\begin{document}
\SweaveOpts{concordance=TRUE}
<<my-label, eval=TRUE>>=
plot(1:20)
@
\end{document}
I'm not sure what I'm missing here?