5 \alias{dbCreate,ANY-method}
6 \alias{dbInit,ANY-method}
8 \alias{dbReconnect,filehashDB1-method}
12 \title{Simple file-based hash table}
14 Interface for creating and initializing a simple file-based hash table
21 \S4method{dbCreate}{ANY}(db, type = NULL, ...)
22 \S4method{dbInit}{ANY}(db, type = NULL, ...)
23 \S4method{dbReconnect}{filehashDB1}(db, ...)
27 \item{db}{name of database or a database object}
28 \item{type}{type of database format. If missing, the default type
30 \item{...}{other arguments passed to methods}
34 \code{dbCreate} creates the necessary files or directory for the
35 database. If those files already exist nothing is done.
37 \code{dbInit} takes a database name and returns an object
38 inheriting from class \code{"filehash"}.
40 The \code{type} argument specifies the format in which the database
41 should be stored on the disk. If not specified, the default
42 type will be used (as specified by \code{filehashOption}).
46 The function \code{dbInitialize} has been deprecated. Use
47 \code{dbInit} instead.
51 \code{dbCreate} returns \code{TRUE} upon success and \code{FALSE} in
52 the event of an error. \code{dbInit} returns an object
53 inheriting from class \code{"filehash"}
56 \author{Roger D. Peng}
59 See \code{\link{filehash-class}} more information and examples and
60 \code{\link{filehashOption}} for setting the default database type.
63 \keyword{database}% at least one, from doc/KEYWORDS