[R] R-code in R-file documentation

Ben Bolker bbolker at gmail.com
Wed May 18 14:44:22 CEST 2011


Brian Oney <zenlines <at> gmail.com> writes:

> 
> Hello List,
> I would like to insert code from .r files into a LaTeX appendix 
> (possibly using Sweave).
> I was considering:
> 

 [snip]

  Wouldn't it be easier to use the LaTeX listings package?
<https://stat.ethz.ch/pipermail/r-help/2006-September/113688.html>
<https://stat.ethz.ch/pipermail/r-help/2006-September/113103.html>



More information about the R-help mailing list