odbcDataSources            package:RODBC            R Documentation

_L_i_s_t _O_D_B_C _D_a_t_a _S_o_u_r_c_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     List known ODBC data sources.

_U_s_a_g_e:

     odbcDataSources(type = c("all", "user", "system"))

_A_r_g_u_m_e_n_t_s:

    type: User DSNs, system DSNs or all?

_V_a_l_u_e:

     A named character vector of DSN descriptions, with names the DSNs.

_A_u_t_h_o_r(_s):

     Brian Ripley

_E_x_a_m_p_l_e_s:

     ## Not run: 
     > odbcDataSources()
             test      sqlite3       testpg 
          "MySQL"    "sqlite3" "PostgreSQL"
     or
                               testdb3                           sqlite3
              "MySQL ODBC 3.51 Driver"             "SQLite3 ODBC Driver"
                               bdr.xls                           testacc
      "Microsoft Excel Driver (*.xls)" "Microsoft Access Driver (*.mdb)"
                                testpg                         SQLServer
                     "PostgreSQL ANSI"               "SQL Native Client"
                                Oracle                               DB2
            "Oracle in OraDb10g_home1"  "IBM DB2 ODBC DRIVER - DB2COPY1"
                               testpgw                           testdb5
                  "PostgreSQL Unicode"           "MySQL ODBC 5.1 Driver"
                     SQLite Datasource           SQLite UTF-8 Datasource
                  "SQLite ODBC Driver"      "SQLite ODBC (UTF-8) Driver"
                    SQLite3 Datasource                             mimdb
                 "SQLite3 ODBC Driver"                           "MIMER"
     ## End(Not run)

