|   | DATA MINING Desktop Survival Guide by Graham Williams |   | |||
| Formatted Output | 
The format.df function of the Hmisc package will format a data frame or matrix as a LATEX table. Also see latex in Hmisc.
Use format for sophisticated formatting of numbers, such as inserting commas in thousands, etc. Also for formatting strings.