Trying to use dbWriteTable
with the RSQLite
driver results in the following error:
In value[[3L]](cond) :
RAW() can only be applied to a 'raw', not a 'character'
My R Script:
Con <- dbConnect(SQLite(), dbname="fake.db")
dbWriteTable(Con, "tabeltest", myData.Frame)
dbWriteTable(Con, "anotherTable", myData.Frame)
dbWriteTable(Con, "lastTable", myData.Frame)
I am trying to re-create this bug with a smaller data.frame, but cannot... (which makes this much more difficult to triage)
If I change Con <- dbConnect(SQLite(), dbname="fake.db")
to Con <- dbConnect(SQLite(force.reload=T), dbname="fake.db")
I get:
In sqliteInitDriver(max.con, fetch.default.rec, force.reload, shared.cache) :RS-DBI driver warning: (mgr->drvData was not freed (some memory leaked))
I am on Windows 7 running R 3.02