[R] formatting

tobias.verbeke@bivv.be tobias.verbeke at bivv.be
Wed Jun 30 16:10:35 CEST 2004





r-help-bounces at stat.math.ethz.ch wrote on 30/06/2004 16:05:15:

>
>
> I could not figure this out from the documentation: is there a way to
send
> formatted non-graphical data to a fancy output device (eg, latex, pdf...)
> For example, if I want to include the summary of a linear model in a
> document, I might want to have it automatically texified.

Have a look at the latex() function in package Hmisc,
and/or at package xtable

If you want to use R code in a LaTeX document, you can
use Sweave; see

http://www.ci.tuwien.ac.at/~leisch/Sweave/

HTH,
Tobias




More information about the R-help mailing list