[R] ctable error with Hmisc and Sweave (on a Mac)

Clay Heaton ccheaton at gmail.com
Tue Mar 23 00:35:35 CET 2010

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

It seems like this is an optional package for Tex that I haven't installed? My googling skills have neglected to locate instructions for how to install ctable on a Mac, though I've locate the ctable package. I reinstalled MacTex-2009 in hopes of solving the problem, but so far it hasn't helped.

Can anybody shed light on this error and how I might fix it?


More information about the R-help mailing list