Learn R Programming

bit64 (version 4.8.4)

A S3 Class for Vectors of 64bit Integers

Description

Package 'bit64' provides serializable S3 atomic 64bit (signed) integers. These are useful for handling database keys and exact counting in +-2^63. WARNING: do not use them as replacement for 32bit integers, integer64 are not supported for subscripting by R-core and they have different semantics when combined with double, e.g. integer64 + double => integer64. Class integer64 can be used in vectors, matrices, arrays and data.frames. Methods are available for coercion from and to logicals, integers, doubles, characters and factors as well as many elementwise and summary functions. Many fast algorithmic operations such as 'match' and 'order' support inter- active data exploration and manipulation and optionally leverage caching.

Copy Link

Version

Install

install.packages('bit64')

Monthly Downloads

751,218

Version

4.8.4

License

GPL-2 | GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Michael Chirico

Last Published

August 20th, 2026

Functions in bit64 (4.8.4)

as.character.integer64

Coerce from integer64
all.equal.integer64

Test if two integer64 vectors are all.equal
bit64S3

Turning base R functions into S3 generics for bit64
benchmark64

Function for measuring algorithmic performance of high-level and low-level integer64 functions
c.integer64

Concatenating integer64 vectors
as.data.frame.integer64

integer64: Coercing to data.frame column
benchmark64.data

Results of performance measurement on a Core i7 Lenovo T410 8 GB RAM under Windows 7 64bit
cache

Atomic Caching
bit64-package

A S3 class for vectors of 64bit integers
factor

Factors
format.integer64

Unary operators and functions for integer64 vectors
is.sorted.integer64

Small cache access methods
hashcache

Big caching of hashing, sorting, ordering
as.integer64.character

Coerce to integer64
identical.integer64

Identity function for class 'integer64'
hashmap

Hashing for 64bit integers
duplicated.integer64

Determine Duplicate Elements of integer64
cumsum.integer64

Cumulative Sums, Products, Extremes and lagged differences
extract.replace.integer64

Extract or Replace Parts of an integer64 vector
keypos

Extract Positions in redundant dimension table
plusclass

integer64: Maintaining S3 class attribute
matrix64

Working with integer64 arrays and matrices
optimizer64.data

Results of performance measurement on a Core i7 Lenovo T410 8 GB RAM under Windows 7 64bit
match.integer64

64-bit integer matching
prank

(P)ercent (Rank)s
rank.integer64

Sample Ranks from integer64
qtile

(Q)uan(Tile)s
rep.integer64

Replicate elements of integer64 vectors
ops64

Binary operators for integer64 vectors
ramsort.integer64

Low-level intger64 methods for in-RAM sorting and ordering
union

Set Operations
table

Cross Tabulation and Table Creation for integer64
runif64

integer64: random numbers
seq.integer64

Generating sequence of integer64 values
unique.integer64

Extract Unique Elements from integer64
tiepos

Extract Positions of Tied Elements
sortnut

Searching and other uses of sorting for 64bit integers
sort.integer64

High-level intger64 methods for sorting and ordering
sum.integer64

Summary functions for integer64 vectors
unipos

Extract Positions of Unique Elements