\documentclass{article} \begin{document} \section*{R test} Analysis of one of the built-in datasets: \begin{Rcode}{fig, scale=.8} summary(ChickWeight) plot(ChickWeight) \end{Rcode} \end{document}