inserting R code in a latex document
Thibaut Jombart wrote:
I'm trying to insert R source code (functions) in an appendix of a latex document. I guess the easiest way to do so is to use the package Sweaved (file : Sweaved.sty)
I have had very good results with the LaTeX package "listings". It is easy to use, and it does the job.
Michael H. Prager, Ph.D. Population Dynamics Team NOAA Center for Coastal Habitat and Fisheries Research Beaufort, North Carolina 28516 USA