message                 package:base                 R Documentation

_D_i_a_g_n_o_s_t_i_c _M_e_s_s_a_g_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Generate a diagnostic message from its arguments.

_U_s_a_g_e:

     message(..., domain = NULL)
     suppressMessages(expr)

_A_r_g_u_m_e_n_t_s:

     ...: character vectors (which are pasted together with no
          separator), a condition object, or 'NULL'.

  domain: see 'gettext'. If 'NA', messages will not be translated.

    expr: expression to evaluate.

_D_e_t_a_i_l_s:

     'message' is used for generating "simple" diagnostic messages
     which are neither warnings nor errors, but nevertheless
     represented as conditions.

     While the message is being processed, a 'muffleMessage' restart is
     available.

     'suppressMessages' evaluates its expression in a context that
     ignores all "simple" diagnostic messages.

_S_e_e _A_l_s_o:

     'warning' and 'stop' for generating warnings and errors;
     'conditions' for condition handling and recovery.

     'gettext' for the mechanisms for the automated translation of
     text.

_E_x_a_m_p_l_e_s:

     message("ABC", "DEF")
     suppressMessages(message("ABC"))

