Possible Duplicate:
How can I use a table generated by R in LaTeX?
I use a lot of tables from R, and I find it cumbersome and very slow to type the "&" and "\" etc. to get the tables translated into LaTeX. Is there some way to have a table like that below automatically formatted for LaTeX?
Df Deviance Resid. Df Resid. Dev
NULL 74 1233.55
inflat 1 4.13 73 1229.42
inc 1 907.24 72 322.18
Analysis of Deviance Table
Df Deviance Resid. Df Resid. Dev
NULL 59 1450.07
inflat 1 99.44 58 1350.63
inc 1 861.93 57 488.69
Analysis of Deviance Table
Df Deviance Resid. Df Resid. Dev
NULL 158 28963.3
inflat 1 3302.4 157 25660.9
inc 1 23996.2 156 1664.8
xtablepackage to generate LaTeX directly from R. See How can I use a table generated by R in LaTeX – Alan Munn Nov 14 '11 at 12:14