Description Usage Arguments Examples
Generate search index of anor database table in mysql
1 2 3 4 5 6 7 8 | mysql.index(
mysql.connect.params = list(host = "", dbname = "", table.name = "", user = "user",
password = "password"),
index = "",
cols = c(),
verbose = FALSE,
...
)
|
mysql.connect.params |
Mysql parameters, [host, dbname, table.name, user, password etc.] |
index |
Index name in mysql |
cols |
Colnames needed with length to be index (e.g. c('V1(6)', 'V2')) |
verbose |
Ligical indicating wheather show the log message |
... |
Other parameters be used in dbSendQuery |
1 2 3 4 5 6 | test.dat <- system.file('extdata', 'demo/sqlite.dat.txt', package = 'anor')
## Not run:
mysql.index(list(host = 'host', dbname = 'db', table.name = 'table',
user = 'user', password = 'password'), index = 'index_name', cols = c('V1', 'V2'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.