Create a 'filehash' database using SQLite as the backend
Arguments
Objects from the Class
Objects can be created by calls of the form
new("filehashSQLite", ...). More likely, one will use the
functions dbCreate and dbInit from the filehash
package.
Extends
Class "filehash", directly.
Details
The "filehashSQLite" class represents a "filehash"
key-value database using the SQLite DBM as the backend. Objects are
stored in a single SQLite database table along with their keys.
dbCreate("myTestDB", type = "SQLite")
db <- dbInit("myTestDB", type = "SQLite")
set.seed(100)
db$a <- rnorm(100)
db$b <- "a character element"
with(db, mean(a))
cat(db$b, "")