[R] R commands formating for LaTeX

Frank E Harrell Jr feh3k at spamcop.net
Tue Mar 23 20:27:49 CET 2004


On Mon, 22 Mar 2004 17:27:21 +0100
Rado Bonk <rado.bonk at jrc.it> wrote:

> Dear R users,
> 
> I have to include typical UNIX formated R commands and outputs into the 
> article using LaTeX.
> 
> What is the easiest way to include R prompt commands and text outputs 
> (including messages) into LaTeX documents? Is there any template or
> library?
> 
> So far I'm trying to produce R commands in LaTeX using LaTeX general 
> format options.
> 
> Thanks,
> 
> Rado

See http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/EmacsLaTeXTools
-- the part about the s2latx.pl Perl script for use inside LaTeX.

---
Frank E Harrell Jr   Professor and Chair           School of Medicine
                     Department of Biostatistics   Vanderbilt University




More information about the R-help mailing list