Is there a way to repeat the top row / set headers when generating an xtable with a longtable option ?
For eg., if I have
tableSb <- xtable(df, captio
Looking at the code for print.xtable, the only considerations it makes when tabular.environment="longtable"
are
floating=TRUE
It does not emit the code specific for repeating the headers on subsequent pages. Check out latex
in the Hmisc
package. I know it has support for longtables as well, but I don't recall if it repeats headers correctly.