odbcListConfig: List locations of ODBC configuration files

View source: R/odbc-config.R

odbcListConfigR Documentation

List locations of ODBC configuration files

Description

On MacOS and Linux, odbc uses the unixODBC driver manager to manage information about driver and data sources. This helper returns the filepaths where the driver manager will look for that information.

This function is a wrapper around the command line call odbcinst -j.

Windows does not use .ini configuration files; this function will return a 0-length vector on Windows.

Usage

odbcListConfig()

See Also

The odbcListDrivers() and odbcListDataSources() helpers return information on the contents of odbcinst.ini and odbc.ini files, respectively.

Learn more about unixODBC and the odbcinst utility here.

Examples


configs <- odbcListConfig()

file.edit(configs[1])


odbc documentation built on June 22, 2024, 9:47 a.m.