2 R version 2.8.0 (2008-10-20)
3 Copyright (C) 2008 The R Foundation for Statistical Computing
6 R is free software and comes with ABSOLUTELY NO WARRANTY.
7 You are welcome to redistribute it under certain conditions.
8 Type 'license()' or 'licence()' for distribution details.
10 R is a collaborative project with many contributors.
11 Type 'contributors()' for more information and
12 'citation()' on how to cite R or R packages in publications.
14 Type 'demo()' for some demos, 'help()' for on-line help, or
15 'help.start()' for an HTML browser interface to help.
21 filehash: Simple key-value database (2.0-1 2008-12-19)
23 > testdblist <- dir(pattern = glob2rx("testdb-v*"))
25 > for(testname in testdblist) {
26 + msg <- sprintf("DATABASE: %s\n", testname)
27 + cat(paste(rep("=", nchar(msg)), collapse = ""), "\n")
29 + cat(paste(rep("=", nchar(msg)), collapse = ""), "\n")
30 + db <- dbInit(testname, "DB1")
35 + cat("key:", k, "\n")
36 + val <- dbFetch(db, k)
41 ======================
43 ======================
44 [1] "a" "c" "list" "entry"
46 [1] -0.6264538 0.1836433 -0.8356286 1.5952808 0.3295078 -0.8204684
47 [7] 0.4874291 0.7383247 0.5757814 -0.3053884
78 ======================
80 ======================
81 [1] "a" "c" "list" "entry"
83 [1] -0.6264538 0.1836433 -0.8356286 1.5952808 0.3295078 -0.8204684
84 [7] 0.4874291 0.7383247 0.5757814 -0.3053884