lookForDB | R Documentation |
Throw an error if trying to connect to a database file that doesn't exist. Avoids creating an 0B database file, which is the default behavior for dbConnect() otherwise.
lookForDB(path, db)
path |
Directory where the database is stored |
db |
File name of the database file you're trying to connect to |
If the database file doesn't exist, throws an error.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.