Re: [R] inserting R code in a latex document

From: Michael Prager <>
Date: Wed 11 May 2005 - 22:00:44 EST

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

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Wed May 11 22:12:28 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:41 EST