The R Project SVN R

Rev

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

Rev 59619 Rev 59622
Line 64... Line 64...
64
  fastest.  If there are too few elements in \code{data} to fill the array,
64
  fastest.  If there are too few elements in \code{data} to fill the array,
65
  then the elements in \code{data} are recycled.  If \code{data} has
65
  then the elements in \code{data} are recycled.  If \code{data} has
66
  length zero, \code{NA} of an appropriate type is used for atomic
66
  length zero, \code{NA} of an appropriate type is used for atomic
67
  vectors (\code{0} for raw vectors) and \code{NULL} for lists.
67
  vectors (\code{0} for raw vectors) and \code{NULL} for lists.
68
 
68
 
69
  In the exceptional case that \code{dims} has length 0, the result will
-
 
70
  be a vector.
-
 
71
 
-
 
72
  \code{as.array} is a generic function for coercing to arrays.  The
69
  \code{as.array} is a generic function for coercing to arrays.  The
73
  default method does so by attaching a \code{\link{dim}} attribute to
70
  default method does so by attaching a \code{\link{dim}} attribute to
74
  it.  It also attaches \code{\link{dimnames}} if \code{x} has
71
  it.  It also attaches \code{\link{dimnames}} if \code{x} has
75
  \code{\link{names}}.  The sole purpose of this is to make it possible
72
  \code{\link{names}}.  The sole purpose of this is to make it possible
76
  to access the \code{dim[names]} attribute at a later time.
73
  to access the \code{dim[names]} attribute at a later time.