[R] How to format R code in LaTex documents

Tim Calkins tcalkins at gmail.com
Tue Jan 16 00:29:35 CET 2007

Consider using the fancyvrb package if you need additional customization.

On 1/16/07, Benjamin Dickgiesser <dickgiesser at gmail.com> wrote:
> Hi,
> 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?
> Thank you!
> Benjamin
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

Tim Calkins
0406 753 997

More information about the R-help mailing list