Learn R Programming

filehash (version 0.3-2)

filehash-class: Class "filehash"

Description

These functions form the interface for a simple file-based hash table.

Arguments

Objects from the Class

Objects can be created by calls of the form new("filehash", ...).

Examples

Run this code
dbCreate("myDB")  ## Create files 'myDB.idx' and 'myDB.rdb'
db <- dbInitialize("myDB")
dbInsert(db, "a", 1:10)
dbInsert(db, "b", rnorm(1000))
dbExists(db, "b")  ## 'TRUE'

dbList(db)  ## c("a", "b")
dbDelete(db, "a")
dbList(db) ## "a"

Run the code above in your browser using DataLab