The R Project SVN R

Rev

Rev 25438 | Rev 30519 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25438 Rev 25459
Line 1... Line 1...
1
\name{print.default}
1
\name{print.default}
2
\alias{print.default}
2
\alias{print.default}
3
\alias{print.atomic}
-
 
4
\alias{print.matrix}
3
\alias{print.matrix}
5
\description{
4
\description{
6
  \code{print.default} is the \emph{default} method of the generic
5
  \code{print.default} is the \emph{default} method of the generic
7
  \code{\link{print}} function which prints its argument.
6
  \code{\link{print}} function which prints its argument.
8
  \code{print.matrix} is currently identical, but was not prior to
7
  \code{print.matrix} is currently identical, but was not prior to
9
  \code{1.7.0}.
8
  \code{1.7.0}.
10
 
-
 
11
  \code{print.atomic} is almost the same and exists purely for
-
 
12
  compatibility reasons.
-
 
13
}
9
}
14
\title{Default Printing}
10
\title{Default Printing}
15
\usage{
11
\usage{
16
\method{print}{default}(x, digits = NULL, quote = TRUE, na.print = NULL,
12
\method{print}{default}(x, digits = NULL, quote = TRUE, na.print = NULL,
17
      print.gap = NULL, right = FALSE, \dots)
13
      print.gap = NULL, right = FALSE, \dots)
18
 
-
 
19
print.atomic(x, quote = TRUE, \dots)
-
 
20
}
14
}
21
\arguments{
15
\arguments{
22
  \item{x}{the object to be printed.}
16
  \item{x}{the object to be printed.}
23
  \item{digits}{a non-null value for \code{digits} specifies the minimum
17
  \item{digits}{a non-null value for \code{digits} specifies the minimum
24
    number of significant digits to be printed in values.  If
18
    number of significant digits to be printed in values.  If
Line 34... Line 28...
34
    right-aligned. The default is left-alignment.}
28
    right-aligned. The default is left-alignment.}
35
  \item{\dots}{further arguments to be passed to or from other
29
  \item{\dots}{further arguments to be passed to or from other
36
    methods. They are ignored in these functions.}
30
    methods. They are ignored in these functions.}
37
}
31
}
38
\details{
32
\details{
39
  \code{print.atomic} differs from \code{print.default} only in its
-
 
40
  argument sequence.  Prior to \R 1.7.0, \code{print.matrix} did not
33
  Prior to \R 1.7.0, \code{print.matrix} did not
41
  print attributes and did not have a \code{digits} argument.
34
  print attributes and did not have a \code{digits} argument.
42
  
35
  
43
  The default for printing \code{NA}s is to print \code{NA} (without
36
  The default for printing \code{NA}s is to print \code{NA} (without
44
  quotes) unless this is a character \code{NA} \emph{and} \code{quote =
37
  quotes) unless this is a character \code{NA} \emph{and} \code{quote =
45
    FALSE}, when \code{<NA>} is printed.
38
    FALSE}, when \code{<NA>} is printed.