Generating sequence of integer64 values
Arguments
- from
integer64 scalar (in order to dispatch the integer64 method of
seq()
- to
scalar
- by
scalar
- length.out
scalar
- along.with
scalar
- ...
ignored
Details
seq.integer64
does coerce its arguments 'from', 'to' and 'by' to integer64
.
If not provided, the argument 'by' is automatically determined as +1
or -1
,
but the size of 'by' is not calculated as in seq()
(because this might result
in a non-integer value).
Note
In base R :
currently is not generic and does not dispatch, see section
"Limitations inherited from Base R" in integer64()
Examples
# colon not activated: as.integer64(1):12
seq(as.integer64(1), 12, 2)
#> integer64
#> [1] 1 3 5 7 9 11
seq(as.integer64(1), by=2, length.out=6)
#> integer64
#> [1] 1 3 5 7 9 11