ニットで fig.env を動作させるのに問題があります。簡単な例を次に示します。
\documentclass[12pt]{article}
\usepackage{rotfloat}
\begin{document}
<<setup, include=F, cache=F>>=
opts_chunk$set(comment=NA,fig.path=file.path(getwd(),'figure/minimal-'),tidy=F, fig.align='center',size='footnotesize')
options(replace.assign=TRUE, width=60)
@
Hoping for a sideways figure!
<<FIGURE, fig.env='sidewaysfigure',fig.width=10, fig.height=5>>=
plot(1:10,1:10)
@
\end{document}
編んだ後、図の出力 .tex ファイルに入るのは
{\centering \includegraphics[width=\maxwidth]{D:/R/figure/minimal-FIGURE}
}
何がうまくいかないのかについて何か提案はありますか?
sessionInfo() R バージョン 3.0.0 (2013-04-03) プラットフォーム: x86_64-w64-mingw32/x64 (64 ビット)