[R] inserting R code in a latex document

Romain Francois francoisromain at free.fr
Wed May 11 14:14:52 CEST 2005


Le 11.05.2005 14:00, Michael Prager a écrit :

> 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.
>

There is also highlight : http://www.andre-simon.de/

-- 
~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
~~~~~~      Romain FRANCOIS - http://addictedtor.free.fr         ~~~~~~
~~~~        Etudiant  ISUP - CS3 - Industrie et Services           ~~~~
~~                http://www.isup.cicrp.jussieu.fr/                  ~~
~~~~           Stagiaire INRIA Futurs - Equipe SELECT              ~~~~
~~~~~~   http://www.inria.fr/recherche/equipes/select.fr.html    ~~~~~~
~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~




More information about the R-help mailing list