On Jul 15, 2013, at 4:11 AM, Andreas Leha wrote:

> Hi all,
> 
> several packages print messages during loading.  How do I avoid to see
> them when the packages are in the defaultPackages?

I'm pretty sure this has been asked before (although the wrinkle of adding a 
package to default packages may not have been part of that discussion.)  Have 
you done any searching of the Archives?
> 
> Here is an example.
> 
> With this in ~/.Rprofile
> ,----[ ~/.Rprofile ]
> | old <- getOption("defaultPackages")
> | options(defaultPackages = c(old, "filehash"))
> | rm(old)
> `----
> 
> I get as last line when starting R:
> ,----
> | filehash: Simple key-value database (2.2-1 2012-03-12)
> `----
> 
> Another package with (even more) prints during startup is tikzDevice.
> 
> How can I avoid to get these messages?

On my machine typing suppress<tab> brings up an option of:

 suppressPackageStartupMessages

You should append a leading "?" and read further.

-- 
David Winsemius
Alameda, CA, USA

______________________________________________
R-help@r-project.org 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.

Reply via email to