Description Usage Arguments Value Examples
This function reads config file (if exists) or from 'host' and 'port' from parameters. Next, it opens a connection and creates database 'db_name' (only if already does not exists).
1 2  | connect(host = "localhost", port = "28015", db_name = DEFAULT_DB,
  config_file = DEFAULT_CONFIG_NAME)
 | 
host | 
 character with host address (default 'localhost')  | 
port | 
 character with port number (default '28015')  | 
db_name | 
 character with databse name (default 'DEFAULT_DB')  | 
config_file | 
 character with rethink configuration file name (default 'DEFAULT_CONFIG_NAME')  | 
connection structure
1 2 3 4  | ## Not run: 
cn <- connect()
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.