【发布时间】:2015-01-23 19:43:06
【问题描述】:
我正在用 RStudio 试用 Knitr。 plot() 的输出现在显示在已编译的 PDF 中。
下面是一个例子。代码显示在 PDF 中,但不显示在图中。
\documentclass[11pt]{article}
\begin{document}
\SweaveOpts{concordance=TRUE}
<<my-label, eval=TRUE>>=
plot(1:20)
@
\end{document}
我不确定我在这里缺少什么?
【问题讨论】: