Example code for displaying a matrix (or table or dataframe) using a combination of
The R environment for statistical computing and graphics (as in r-project.org)
the "multicolumn" idea
a readable version of foo.Rnw.
The file you source in R
And then the resulting files . . .