| db_drivers_install | R Documentation |
Interactive helper to install one or more database drivers. Provides helpful instructions and handles special cases (like ODBC).
db_drivers_install(drivers = NULL, repos = getOption("repos"))
drivers |
Character vector. Database driver names to install (e.g., "postgres", "mysql", "duckdb"). If NULL, shows interactive menu. |
repos |
Character. CRAN repository URL. Default: getOption("repos") |
NULL (invisible). Installs packages as side effect.
if (FALSE) {
# Install specific drivers
db_drivers_install(c("postgres", "mysql"))
# Interactive mode
db_drivers_install()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.