Skip to content
Prev 69797 / 398525 Next

Conflict between xtable and Hmisc when using Sweave?

Sander,

Thanks for pointing out the conflict between Hmisc and xtable.  I am not 
sure I have a good solution.

My understand of the namespace solution is that packages can specify 
which variables to export for use by the package users.  The label 
function is not an internal function, rather one what is intended for 
the user.

Renaming the label() would resolve the conflict with the Hmisc package, 
but make xtable not compatible with previous versions.

As noted by Andy, label() in xtable is an S3 generic with an 
implementation label.xtable() specific to the xtable package.  Perhaps 
Frank of Hmisc might be willing to make his follow the S3 generic naming 
convention?

I am open to suggestions and, more especially, code.  Thanks for using 
xtable.

-- David
Liaw, Andy wrote: