bit64 v0.8-3


Monthly downloads



A S3 class for vectors of 64bit integers

Package 'bit64' provides serializable S3 atomic 64bit (signed) integers that can be used in vectors, matrices, arrays and data.frames. Methods are available for coercion from and to logicals, integers, doubles, characters as well as many elementwise and summary functions. With 'integer64' vectors you can store very large integers at the expense of 64 bits, which is by factor 7 better than 'int64' from package 'int64'. Due to the smaller memory footprint, the atomic vector architecture and using only S3 instead of S4 classes, most operations are one to three orders of magnitude faster: Example speedups are 4x for serialization, 250x for adding, 900x for coercion and 2000x for object creation. Also 'integer64' avoids an ongoing (potentially infinite) penalty for garbage collection observed during existence of 'int64' objects (see code in example section). Last but not least, this package has no commercial copyright attached, it is not sponsored by any commercial company or otherwise influenced by commercial interests. Its mix of high-level R code with low-level C-code protects against misuse outside the GPLed R context.

Functions in bit64

Name Description
No Results!

Last month downloads


Type Package
Date 2011-12-12
License GPL-2
LazyLoad yes
ByteCompile yes
Encoding latin1
Packaged 2012-02-16 23:24:34 UTC; rforge
Repository CRAN
Repository/R-Forge/Project ff
Repository/R-Forge/Revision 95
Date/Publication 2012-02-17 12:25:45

Include our badge in your README