print.default              package:base              R Documentation

_D_e_f_a_u_l_t _P_r_i_n_t_i_n_g

_D_e_s_c_r_i_p_t_i_o_n:

     `print.default' is the default method of the generic `print'
     function which prints its argument.

     `print.atomic' is almost the same and exists purely for
     compatibility reasons.

_U_s_a_g_e:

     print.default(x, digits = NULL, quote = TRUE, na.print = NULL,
                   print.gap = NULL, right = FALSE, ...)
     print.atomic(x, quote = TRUE, ...)

_A_r_g_u_m_e_n_t_s:

       x: the object to be printed.

  digits: a non-null value for `digits' specifies the number of
          significant digits to be printed in values.  If `digits' is
          `NULL', the value of `digits' set by `options' is used.

   quote: logical, indicating whether or not strings (`character's)
          should be printed with surrounding quotes.

na.print: a character string which is used to indicate `NA' values in
          printed output, or `NULL' (see Details)

print.gap: an integer, giving the spacing between adjacent columns in
          printed matrices and arrays, or `NULL' meaning 1.

   right: logical, indicating whether or not strings should be
          right-aligned. The default is left-alignment.

     ...: (further arguments, currently disregarded)

_D_e_t_a_i_l_s:

     The default for printing `NA's is to print `NA' (without quotes)
     unless this is a character `NA' and `quote = FALSE', when `<NA>'
     is printed.

_S_e_e _A_l_s_o:

     The generic `print', `options'. The `"noquote"' class and print
     method.

_E_x_a_m_p_l_e_s:

     pi
     print(pi, digits = 16)
     LETTERS[1:16]
     print(LETTERS, quote = FALSE)

