[R] How to format R code in LaTex documents
skiadas at hanover.edu
Mon Jan 15 15:31:48 CET 2007
On Jan 15, 2007, at 8:42 AM, Benjamin Dickgiesser wrote:
> I am planning on putting some R script in an appendix of a LaTex
> document. Can anyone recommend me a way of how to format it? Is there
> a way to keep all line breaks without having to insert \\ in every
> single line?
I think the LaTeX environments "lstlisting" and/or "verbatim" might
do what you want.
> Thank you!
More information about the R-help