[R] silent loading of packages

From: johan Faux <johanfaux_at_yahoo.com>
Date: Tue 30 Jan 2007 - 20:17:23 GMT


I would like to turn off all the messages during library(aPackage) or
require(aPackage)

I tried different commands: invisible, capture.output, sink but none of them is working.

For example, loading VGAM, gives a lot of unnecessary messages:

> library(VGAM)

Attaching package: 'VGAM'

        The following object(s) are masked from package:splines :

         bs

        The following object(s) are masked from package:splines :

         ns

        The following object(s) are masked from package:boot :

         logit

        The following object(s) are masked from package:boot :

         simplex

        The following object(s) are masked from package:stats :

         glm

        The following object(s) are masked from package:stats :

         lm

        The following object(s) are masked from package:stats :

         poly

        The following object(s) are masked from package:stats :

         predict.glm

        The following object(s) are masked from package:stats :

         predict.lm

        The following object(s) are masked from package:stats :

         predict.mlm

        The following object(s) are masked from package:base :

         scale.default

Any hint/help will be appreciated.  



Expecting? Get great news right away with email Auto-Check.

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed Jan 31 07:23:19 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 30 Jan 2007 - 23:30:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.