Skip to content
Prev 334401 / 398506 Next

Problems with xtable?

On 12/13/2013 1:14 PM, Silvano Cesar da Costa wrote:
The message is coming from the addmargins function. You can add the 
argument quiet=FALSE to the addmargins call (see the help page for 
addmargins).

Despite the help page referring to it as a "message", it is not really a 
message (in the sense of reported via message()) but is written out with 
cat(). Therefore the typical ways to suppress a message 
(suppressMessages(), etc.) won't work. The quiet argument to addmargins 
is the most straightforward way.