int64 {csvread} | R Documentation |
A very basic 64-bit integer class.
int64(length = 0) is.int64(x) ## Default S3 method: as.int64(x, ...) ## S3 method for class 'factor' as.int64(x, ...) ## S3 method for class 'character' as.int64(x, base = 10L, ...) ## S3 method for class 'numeric' as.int64(x, ...) ## S3 method for class 'NULL' as.int64(x, ...) ## S3 method for class 'int64' format(x, ...) ## S3 method for class 'int64' print(x, ...) ## S3 method for class 'int64' as.character(x, base = NULL, ...) ## S3 method for class 'int64' as.double(x, ...) ## S3 method for class 'int64' as.integer(x, ...) ## S3 method for class 'int64' is.na(x, ...) ## S3 method for class 'int64' as.data.frame(x, ...) ## S3 method for class 'int64' as.list(x, ...) ## S3 method for class 'int64' c(...) ## S3 method for class 'int64' is.numeric(x) ## S3 method for class 'int64' rep(x, ...)
length |
A non-negative integer specifying the desired length. Double values will be coerced to integer: supplying an argument of length other than one is an error. |
x |
Object to be coerced or tested |
... |
Further arguments passed to or from other methods. |
base |
Specifies the base of the number (default is the base attribute of the object). |
The int64
class stores 64-bit integers in vectors of doubles and the
base as an attribute base
of the vector for printing and conversion to
character. The motivation behind this class is to give R the ability to load
64-bit integers directly, for example, to represent the commonly used 64-bit
identifiers in relational and other databases.
Ops.int64 csvread