Skip to content
Prev 69792 / 398525 Next

Conflict between xtable and Hmisc when using Sweave?

Do you need label in both xtable and Hmisc?  If you only need
it in Hmisc and not in xtable then just be sure you have loaded
xtable first and Hmisc second.  This:

search()

will give you the search path.  It will find the first one on the
search path so if Hmisc is before xtable (which would occur
if you loaded Hmisc last) then it would find that one.

If you have already loaded them in the wrong order then just
detach Hmisc and load it again:

detach("package:Hmisc")
library(Hmisc)
On 5/16/05, Sander Oom <slist at oomvanlieshout.net> wrote: