Learn R Programming

odbc (version 1.4.2)

odbcListConfig: 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()

Arguments

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

Run this code
if (FALSE) {
configs <- odbcListConfig()

file.edit(configs[1])
}

Run the code above in your browser using DataLab