我希望每个xtable页面上都有列名。
\documentclass{article}
\usepackage{graphicx}
\usepackage{longtable}
\begin{document}
<<>>=
x <- matrix(rnorm(1000), ncol = 10)
x.big <- xtable(x,label='tabbig',caption='Example of longtable spanning several pages')
@
<<label = tabSEM.S, echo = FALSE, results = tex >>=
print(x.big,tabular.environment='longtable',floating=FALSE)
@
\end{document}
任何帮助都将不胜感激。谢谢。