Skip to content
Prev 69798 / 398525 Next

Conflict between xtable and Hmisc when using Sweave?

Using label as an lvalue (i.e. on the left hand side of the assignment)
causes it to refer to a different function, not label itself.  

Any any rate, looking at your example,
it seems that you don't actually need to use Hmisc and xtable at the same time
so just make sure that whichever you want at a particular point
in your code is the only one of the two loaded:

library(Hmisc)
...code that involves Hmisc but not xtable...
detach("package:Hmisc")
library(xtable)
...code that involves xtable but not Hmisc...
On 5/16/05, Sander Oom <sander at oomvanlieshout.net> wrote: