2015년 텍학회 학술대회에서 박재성 박사께 배운 Sweave
test.Rnw
\documentclass{standalone} \begin{document} <<fig=TRUE,echo=FALSE>>= curve(sin, 0, 2*pi, xname = "t") @ \end{document}
\documentclass{standalone}
\begin{document}
<<fig=TRUE,echo=FALSE>>=
curve(sin, 0, 2*pi, xname = "t")
@
\end{document}
$ R CMD Sweave test.Rnw $ pdflatex test.tex
$ R CMD Sweave test.Rnw
$ pdflatex test.tex
KTUG 한국 텍 사용자 그룹
2015년 텍학회 학술대회에서 박재성 박사께 배운 Sweave
test.Rnw