Tag Archives: startup messages

R: How to suppress package startup messages

suppressPackageStartupMessages(library(fields)) And you can still test the result of the `library` or `require` calls: a = suppressPackageStartupMessages(require(fields)) Variable ‘a’ will be TRUE if it was successful, FALSE otherwise.

Posted in R | Tagged , , , | 2 Comments