[R] From R to LaTeX to pdf?
Thomas Adams
Thomas.Adams at noaa.gov
Tue Nov 24 15:17:05 CET 2009
Joel,
You should consider using Sweave:
http://www.stat.umn.edu/~charlie/Sweave/ -or-
http://en.wikipedia.org/wiki/Sweave
Regards,
Tom
Joel Fürstenberg-Hägg wrote:
> Hi all,
>
>
>
> Anyone experienced in the LaTeX format?
>
>
>
> I'm trying to use the xtable package to create nice anova tables, but how do I do to produce a pdf from the resulting LaTeX table? I've tried WinShell and MiKTeX, but I couldn't get any of them working...
>
>
>
> Here's an example of the output in R:
>
>
>
> % latex table generated in R 2.9.2 by xtable 1.5-6 package
> % Tue Nov 24 14:17:32 2009
> \begin{tabular}{lrrrrr}
> \hline
> & Df & Sum Sq & Mean Sq & F value & Pr($>$F) \\
> \hline
> cat & 2 & 40.50 & 20.25 & 6.66 & 0.0019 \\
> Residuals & 107 & 325.13 & 3.04 & & \\
> \hline
> \end{tabular}
>
>
>
> Best regards,
>
>
>
> Joel
>
> _________________________________________________________________
> Lagra alla dina foton på Skydrive. Det är enkelt och säkert!
> http://www.skydrive.live.com
> [[alternative HTML version deleted]]
>
>
> ------------------------------------------------------------------------
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Thomas E Adams
National Weather Service
Ohio River Forecast Center
1901 South State Route 134
Wilmington, OH 45177
EMAIL: thomas.adams at noaa.gov
VOICE: 937-383-0528
FAX: 937-383-0033
More information about the R-help
mailing list