From edd at debian.org  Fri Apr 27 16:47:19 2007
From: edd at debian.org (Dirk Eddelbuettel)
Date: Fri, 27 Apr 2007 09:47:19 -0500
Subject: [Rd] How to suppress 'Loading required package ...' via
	Depends/Imports
In-Reply-To: <Pine.LNX.4.64.0704271506170.29708@gannet.stats.ox.ac.uk>
References: <17969.64551.962449.586155@basebud.nulle.part>
	<Pine.LNX.4.64.0704271506170.29708@gannet.stats.ox.ac.uk>
Message-ID: <20070427144719.GA24236@eddelbuettel.com>

On Fri, Apr 27, 2007 at 03:10:42PM +0100, Prof Brian Ripley wrote:
> See ?suppressMessages
> 
> I did:
> 
> >suppressPackageStartupMessages(library("mboost"))
> 
> and saw no messages at all in 2.5.0.  (And that is one of the noisiest.)

Oh, dang, and I know you had in fact told me about this before. Sorry
for my additional noise.  I still have R 2.4.1 on my main server as a
co-worker wants to wait for 2.5.1 before upgrading that box ...

One additional request if I may: some sort of pointer from the
library(), require(), INSTALL, ... manual page so that I'll find this
next time I forget.

Lastly, a nit:  it doesn't _fully_ do it as it still issues a 

  Loading required package: methods

when invoked...  But I guess I may as well load methods from my R
startup files.

Thanks, Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison



[Rd] How to suppress 'Loading required package ...' via Depends/Imports
Dirk Eddelbuettel