[R] suppress messages on loading its

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Oct 20 21:59:19 CEST 2005


Those messages mean it has not been installed correctly -- they should 
occur during installation only.

They are written to the message connection, which capture.output does not 
mess with (but sink can).

On Thu, 20 Oct 2005, Omar Lakkis wrote:

> On loading the package: its, I get the "Creating a new generic
> function for" messages below even when I wrap the call with
> capture.output. Is there a way to suppress these messages?
>
>> dummy=capture.output( library(its) )
> Creating a new generic function for 'names' in 'its'
> Creating a new generic function for 'names<-' in 'its'
> Creating a new generic function for 'print' in 'its'
> Creating a new generic function for 'start' in 'its'
> Creating a new generic function for 'end' in 'its'
> Creating a new generic function for 'summary' in 'its'
> Creating a new generic function for 'diff' in 'its'
> Creating a new generic function for 'union' in 'its'
> Creating a new generic function for 'intersect' in 'its'

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list