Learn R Programming

filehash (version 0.3-2)

dbInit: Simple file-based hash table

Description

Interface for a simple file-based hash table

Usage

dbCreate(dbName, type = c("DB", "RDS"))
dbInitialize(dbName, type = c("DB", "RDS"))

Arguments

dbName
character, name of database
type
type of format

Details

dbCreate creates the necessary files for the database and returns TRUE upon success. If those files already exist, they are overwritten with a warning.

dbInitialize takes a database name and returns an object of class "filehash".

The type argument specifies how the database should be stored on the disk, either as a single file ("DB") or as a collection of files in a directory ("RDS").

See Also

See filehash-class more information and examples.