Learn R Programming

csvread (version 1.2.2)

int64: A very basic 64-bit integer class.

Description

A very basic 64-bit integer class.

Usage

int64(length = 0)

is.int64(x)

# S3 method for default as.int64(x, ...)

# S3 method for factor as.int64(x, ...)

# S3 method for character as.int64(x, base = 10L, ...)

# S3 method for numeric as.int64(x, ...)

# S3 method for `NULL` as.int64(x, ...)

# S3 method for int64 format(x, ...)

# S3 method for int64 print(x, ...)

# S3 method for int64 as.character(x, base = NULL, ...)

# S3 method for int64 as.double(x, ...)

# S3 method for int64 as.integer(x, ...)

# S3 method for int64 is.na(x, ...)

# S3 method for int64 as.data.frame(x, ...)

# S3 method for int64 as.list(x, ...)

# S3 method for int64 c(...)

# S3 method for int64 is.numeric(x)

# S3 method for int64 rep(x, ...)

Arguments

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).

Details

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.

See Also

Ops.int64 csvread