is there a simple way (e.g., via a chunk option) to get a chunk\'s source code and the plot it produces side by side, as on page 8 (among others) of this document?
I tri
I see 3 possibilities
beamer presentations, I'd go for \begin{columns} ... \end{columns} as well.For all three, the chunk options would have include = FALSE, and the plot would "manually" be put to the right place by \includegraphics[]{}.