Hi,

I have found that when I run my .rnw file through Sweave it removes the \end{table} LaTeX command after the table that was not generated using R.:

excerpt from my .rnw file
...
6.000 -- 6.003 &          3 &        0.6 \\
\hline
8.500 -- 8.505 &          4 &        0.8 \\
\hline
Grand Total &        493 &            \\
\hline
\end{tabular}
\label{tbl:sbbs}

\end{table}
\section{Recommendations}

excerpt from the .tex file generated by Sweave
...
6.000 -- 6.003 &          3 &        0.6 \\
\hline
8.500 -- 8.505 &          4 &        0.8 \\
\hline
Grand Total &        493 &            \\
\hline
\end{tabular}
\label{tbl:sbbs}

\section{Recommendations}

If I put two \end{table} commands in the table only one is removed by Sweave.

Has anyone else seen this?

Thanks,

Keith Jones, Ph.D.
VTS Pumps

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to