set_current_database | R Documentation |
Sets the current default database in this session.
set_current_database(sc, name)
sc |
A |
name |
|
If successful, TRUE
, otherwise errors.
current_database()
, database_exists()
, list_databases()
## Not run: sc <- sparklyr::spark_connect(master = "local") set_current_database(sc = sc, name = "new_db") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.