[R] suppress startup messages from default packages

Andreas Leha andreas.leha at med.uni-goettingen.de
Mon Jul 15 13:11:11 CEST 2013


Hi all,

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

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?

Regards,
Andreas



More information about the R-help mailing list