summaryrefslogtreecommitdiffstats
path: root/src/arrow/r/man/type.Rd
blob: d55bbe24bd57a7a45cbeea3bfcc4c7fb2d01a706 (plain)
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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/type.R
\name{type}
\alias{type}
\title{infer the arrow Array type from an R vector}
\usage{
type(x)
}
\arguments{
\item{x}{an R vector}
}
\value{
an arrow logical type
}
\description{
infer the arrow Array type from an R vector
}
\examples{
\dontshow{if (arrow_available()) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf}
type(1:10)
type(1L:10L)
type(c(1, 1.5, 2))
type(c("A", "B", "C"))
type(mtcars)
type(Sys.Date())
\dontshow{\}) # examplesIf}
}