Skip to content
Back to formatted view

Raw Message

Message-ID: <4281F3EC.7020306@noaa.gov>
Date: 2005-05-11T12:00:44Z
From: Mike Prager
Subject: inserting R code in a latex document
In-Reply-To: <4281BDA3.1080009@statistik.uni-dortmund.de>

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