This help topic is for R version 1.5.0. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/print.default.html
print.default {base}R Documentation

Default Printing

Description

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.

Usage

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

Arguments

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 (characters) 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)

Details

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

See Also

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

Examples

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

[Package base version 1.5.0 ]