Rev 33350 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{message}\alias{message}\alias{suppressMessages}\title{Diagnostic Messages}\description{Generate a diagnostic message from its arguments.}\usage{message(\dots, domain = NULL)suppressMessages(expr)}\arguments{\item{\dots}{character vectors (which are pasted together with noseparator), a condition object, or \code{NULL}.}\item{domain}{see \code{\link{gettext}}.If \code{NA}, messages will not be translated.}\item{expr}{expression to evaluate.}}\details{\code{message} is used for generating \dQuote{simple} diagnosticmessages which are neither warnings nor errors, but neverthelessrepresented as conditions.While the message is being processed, a \code{muffleMessage} restartis available.\code{suppressMessages} evaluates its expression in a context thatignores all \dQuote{simple} diagnostic messages.}\seealso{\code{\link{warning}} and \code{\link{stop}} for generating warningsand errors; \code{\link{conditions}} for condition handling andrecovery.\code{\link{gettext}} for the mechanisms for the automated translationof text.}\examples{message("ABC", "DEF")suppressMessages(message("ABC"))}\keyword{programming}