as.int64: Convert character or integer vectors into int64 vectors.

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/int64.R

Description

Convert character or integer vectors into int64 vectors.

Usage

1

Arguments

x

A character or integer vector

Details

For conversion of character vectors, the C function atol is used.

Value

A new int64 vector.

Author(s)

Romain Francois, sponsored by the Google Open Source Programs Office

References

C++ atol function: http://www.cplusplus.com/reference/clibrary/cstdlib/atol/

See Also

as.uint64 for conversion to unsigned long vectors.

Examples

1
2
as.int64( c(1L, 2L ) )
as.int64( c("123456789123456", "987654321987654" ) )

int64 documentation built on May 31, 2017, 5:05 a.m.