| Line 1... |
Line 1... |
| 1 |
% File src/library/base/man/c.Rd
|
1 |
% File src/library/base/man/c.Rd
|
| 2 |
% Part of the R package, http://www.R-project.org
|
2 |
% Part of the R package, http://www.R-project.org
|
| 3 |
% Copyright 1995-2008 R Core Team
|
3 |
% Copyright 1995-2013 R Core Team
|
| 4 |
% Distributed under GPL 2 or later
|
4 |
% Distributed under GPL 2 or later
|
| 5 |
|
5 |
|
| 6 |
\name{c}
|
6 |
\name{c}
|
| 7 |
\title{Combine Values into a Vector or List}
|
7 |
\title{Combine Values into a Vector or List}
|
| 8 |
\usage{
|
8 |
\usage{
|
| Line 22... |
Line 22... |
| 22 |
recursively descends through lists (and pairlists) combining all
|
22 |
recursively descends through lists (and pairlists) combining all
|
| 23 |
their elements into a vector.}
|
23 |
their elements into a vector.}
|
| 24 |
}
|
24 |
}
|
| 25 |
\details{
|
25 |
\details{
|
| 26 |
The output type is determined from the highest type of the components
|
26 |
The output type is determined from the highest type of the components
|
| 27 |
in the hierarchy NULL < raw < logical < integer < real < complex < character
|
27 |
in the hierarchy NULL < raw < logical < integer < double < complex < character
|
| 28 |
< list < expression. Pairlists are treated as lists, but non-vector
|
28 |
< list < expression. Pairlists are treated as lists, but non-vector
|
| 29 |
components (such names and calls) are treated as one-element lists
|
29 |
components (such names and calls) are treated as one-element lists
|
| 30 |
which cannot be unlisted even if \code{recursive = TRUE}.
|
30 |
which cannot be unlisted even if \code{recursive = TRUE}.
|
| 31 |
|
31 |
|
| 32 |
\code{c} is sometimes used for its side effect of removing attributes
|
32 |
\code{c} is sometimes used for its side effect of removing attributes
|