search for: mydb3

Displaying 1 result from an estimated 1 matches for "mydb3".

Did you mean: mydb
2010 Jan 02
0
filehash - multiple indices via '[' not allowed when using RDS format
...r, recently I found filehash gives an error when I need to do something like db[c("a", "b")] when the db is in RDS format. Does any one know a way to get around that? The code below reproduces the error thanks Jeff filehashOption(defaultType = "DB1") dbCreate("mydb3", type = "DB1") db = dbInit("mydb3") db$a = rnorm(100, 1) db$b = rnorm(100, 1) with(db, c(a = mean(a), b = mean(b))) sapply(db[c("a", "b")], mean) # works. filehashOption(defaultType = "RDS") dbCreate("mydb4", type = "RDS&quot...