Sweave に R 入力を複数行に渡って自動的に出力させることは可能ですか? 例えば、
\documentclass{article}
\begin{document}
\SweaveOpts{concordance=TRUE}
\setkeys{Gin}{width=\textwidth}
<<fig=TRUE>>=
plot(LakeHuron, ylab="Level in feet", xlab="Year", main="Level of Lake Huron 1875–1972", lwd=2, las=1)
@
\end{document}
Rコードを印刷して、右側のマージンに(およびそれを超えて)実行します。私が推測できることから、
<<>>=
options(width=60)
@
R 出力のみを制御します。