vos_odbcinst | R Documentation |
ODBC uses an odbcinst.ini
file to point ODBC at the library required
to drive any given database. This function helps us automatically
locate the driver library on different operating systems and configure
the odbcinst appropriately for each OS.
vos_odbcinst(
system_odbcinst = find_odbcinst(),
local_odbcinst = odbcinst_path()
)
system_odbcinst |
Path to the system |
local_odbcinst |
Path to the local odbcinst we should use. |
This function is called automatically by vos_install()
and thus
does not usually need to be called by the user. Users can also manually
configure ODBC as outlined in
https://github.com/r-dbi/odbc#dsn-configuration-files.
This is merely a convenience function automating that process on most
systems.
the path to the odbcinst file that is created or modified.
## Configures ODBC and returns silently on success.
vos_odbcinst()
## see where the inst file is located:
inst <- vos_odbcinst()
inst
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.