Description Usage Arguments Examples
Drop search index of anor database table in sqlite
1 2 3 4 5 6 | drop.sqlite.index(
sqlite.connect.params = list(dbname = "", table.name = ""),
index = "",
verbose = FALSE,
...
)
|
sqlite.connect.params |
Connect to sqlite database params [dbname] |
index |
Index name in sqlite |
verbose |
Ligical indicating wheather show the log message |
... |
Other parameters be used in dbSendQuery |
1 2 3 4 5 6 7 8 9 | test.sqlite <- sprintf('%s/snp.test.sqlite', tempdir())
test.dat <- system.file('extdata', 'demo/sqlite.dat.txt', package = 'anor')
x <- sqlite.build(filename = test.dat, list(dbname = test.sqlite,
table.name = 'snp_test'))
x <- sqlite.index(list(dbname = test.sqlite, table.name = 'snp_test'),
index = 'index4', cols = c('V1', 'V2'))
x <- drop.sqlite.index(list(dbname = test.sqlite, table.name = 'snp_test'), index = 'index4')
test.sqlite <- normalizePath(test.sqlite, '/')
file.remove(test.sqlite)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.