[R] How do I force confint() for glm() to be quiet?
hans at sociologi.cjb.net
Fri Mar 9 15:38:06 CET 2012
On 2012-03-09 15:30, David Winsemius wrote:
> On Mar 9, 2012, at 6:14 AM, Hans Ekbrand wrote:
>> I need confint() for glm() to supress the messages
> I'm wondering if suppressMessages would be helpful? Which in turn
> suggests that you do not know how to use "??", so firt you should get
> in the habit of doing a helpSearch before posting.
> ??"suppress messages"
>> "Waiting for profiling to be done..."
>> because they mess up the caching mechanism of pgfSweave (see
>> I have read the help page of confint(), but I do not know how to get
>> the help page for the glm() version, if any such help page exists.
> When I type ?confint.glm at my console I get this help page:
Ah, I tried ?confint.lm without success and didn't go further.
> If suppressMessages is not effective then look at:
OK, but since suppressMessages works, I'll stick to that.
> Grrrr. A _minimal_ example would have had fewer iterations,
> but this does seem to be effective:
> suppressMessages(my.results <- confint(my.fit))
More information about the R-help