[R] From R to LaTeX to pdf?

Benoit Boulinguiez benoit.boulinguiez at ensc-rennes.fr
Tue Nov 24 15:14:07 CET 2009


Hi Joel,

that's a LaTeX issue you have there, nothing wrong with R.
You should post your message on a LaTeX Forum about how to use LaTeX.

http://www.latex-community.org/
 


Regards


Benoit


-----Message d'origine-----
De : r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] De
la part de Joel Fürstenberg-Hägg
Envoyé : mardi 24 novembre 2009 15:02
À : r-help at r-project.org
Objet : [R] From R to LaTeX to pdf?


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 pe Skydrive. Det dr enkelt och sdkert!
http://www.skydrive.live.com
	[[alternative HTML version deleted]]




More information about the R-help mailing list