Clay Heaton wrote:
Hi, pretty new with R and LaTeX here...

I'm trying to use the latex() function from the Hmisc table with Sweave. When I 
try:

pdflatex myfile.tex

I get an error that reads:

! Undefined control sequence.
l.22 \ctable



What does your function call to latex look like? I didn't look this up, but I seem to recall there being a ctable argument, which will use ctable instead of the standard tabular environment. I've never used it before, but if there's no need to use it, don't.

______________________________________________
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