横向きモードでキャプション付きのフルページの図を作成しようとしています。以下の Rnw ファイルは、"fig.cap='Caption Trial'" を省略した場合は問題なく動作しますが、キャプションを使用した場合は問題ありません。どんな助けでも大歓迎です。
\documentclass{article}
\usepackage{fullpage}
\usepackage{pdflscape}
\begin{document}
\begin{landscape}
<<test, out.width='1\\linewidth', fig.width=7, fig.height=4, fig.cap='Caption Trial'>>=
par(mar=c(4, 4, .1, .1)); plot(1:10)
@
\end{landscape}
\end{document}