[R] inserting R code in a latex document
Michael Prager
Mike.Prager at noaa.gov
Wed May 11 14:00:44 CEST 2005
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
More information about the R-help
mailing list