Description Usage Arguments Value Author(s) References Examples
This function loads extension virtual tables to make them available to an
RSQLite database connection. The databse connection needs to have been
created by passing loadable.extensions = TRUE
to dbConnect
(this is the default as of RSQLite 0.9-1).
1 |
db |
An RSQLite database connection as returned by |
TRUE if the virtual tables were successfully loaded.
Reijo Sund
For details on loadable extensions in SQLite, see http://www.sqlite.org/cvstrac/wiki?p=LoadableExtensions.
For details on virtual tables in SQLite, see http://www.sqlite.org/cvstrac/wiki?p=VirtualTables.
1 2 3 4 5 6 7 8 9 | db <- dbConnect(SQLite(), dbname = ":memory:",
loadable.extensions = TRUE)
init_virtualtables(db)
dbSendQuery(db, "create virtual table t1 using test")
dbGetQuery(db,"select * from t1")
dbDisconnect(db)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.