Displaying 3 results from an estimated 3 matches for "dbcreat".
Did you mean:
dbcreate
2008 Mar 15
1
filehash
Hello,
I'm using filehash on the windows XP and it has been working fine with the
newest R version 2.6.2. However, on the windows vista, when I ran the same
code, I got the following error:
> dbCreate("simdb") #create simdb database
[1] TRUE
> db<-dbInit("simdb") #initiate an object of database
Error in sprintf(gettext(fmt, domain = domain), ...) :
object "datafile" not found
>
Thanks,
Davood
[[alternative HTML version deleted]]
2010 Jan 02
0
filehash - multiple indices via '[' not allowed when using RDS format
...ry well.
However, 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 = &...
2012 Oct 05
2
heroku rake db:drop error PG::Error: FATAL: permission denied for database "postgres"
How to empty DB in heroku<http://stackoverflow.com/questions/4820549/how-to-empty-db-in-heroku>
I have a Postgres database on Heroku. It is one of the free beta ones.
Locally, when testing, I often run rake db:drop && rake db:create && rake
db:migrate as a way to reset the database.
However, when I try to run this on Heroku, I get the error:\[code\]Couldn''t
drop