File: as_chunked_array.Rd

package info (click to toggle)
apache-arrow 23.0.1-1
  • links: PTS
  • area: main
  • in suites: sid
  • size: 76,220 kB
  • sloc: cpp: 654,608; python: 70,522; ruby: 45,964; ansic: 18,742; sh: 7,365; makefile: 669; javascript: 125; xml: 41
file content (34 lines) | stat: -rw-r--r-- 989 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/chunked-array.R
\name{as_chunked_array}
\alias{as_chunked_array}
\alias{as_chunked_array.ChunkedArray}
\alias{as_chunked_array.Array}
\title{Convert an object to an Arrow ChunkedArray}
\usage{
as_chunked_array(x, ..., type = NULL)

\method{as_chunked_array}{ChunkedArray}(x, ..., type = NULL)

\method{as_chunked_array}{Array}(x, ..., type = NULL)
}
\arguments{
\item{x}{An object to convert to an Arrow Chunked Array}

\item{...}{Passed to S3 methods}

\item{type}{A \link[=data-type]{type} for the final Array. A value of \code{NULL}
will default to the type guessed by \code{\link[=infer_type]{infer_type()}}.}
}
\value{
A \link{ChunkedArray}.
}
\description{
Whereas \code{\link[=chunked_array]{chunked_array()}} constructs a \link{ChunkedArray} from zero or more
\link{Array}s or R vectors, \code{as_chunked_array()} converts a single object to a
\link{ChunkedArray}.
}
\examples{
as_chunked_array(1:5)

}