cdb-package: Reading and Writing Constant DataBases


A constant database is a data structure created by Daniel J. Bernstein in his cdb package. Its format consists on a sequence of (key,value)-pairs. This R package emulates the basic cdb utilities: read (cdbget) and write (cdbdump).


Package: cdb
Type: Package
Version: 0.0.1
Date: 2013-04-14
License: GPL3

Function read.cdb reads a cdb file and returns a data frame with all the keys and the values of the constant database.

Function write.cdb exports a data frame with two columns to a text file, using the record format proposed by D. J. Bernstein.


Emilio Torres Manzanera

Maintainer: Emilio Torres Manzanera <>


Daniel J. Bernstein cdb

Michael Tokarev (2012) TinyCDB - a Constant DataBase


## Not run: read.cdb("example.cdb")
## Not run: write.cdb(x, filename="Base.txt", type="txt")

Questions? Problems? Suggestions? or email at

All documentation is copyright its authors; we didn't write any of that.