odbcClose               package:RODBC               R Documentation

_O_D_B_C _C_l_o_s_e _C_o_n_n_e_c_t_i_o_n_s

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

     Close connections to ODBC databases.

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

     odbcClose(channel)

     ## S3 method for class 'RODBC':
     close(con, ...)

     odbcCloseAll()

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

channel, con: RODBC connection object as returned by 'odbcConnect'.

     ...: additional arguments passed from the generic.

_D_e_t_a_i_l_s:

     'odbcClose' cleans up and frees resources.  It is also the method
     for the generic function 'close'.

     'odbcCloseAll' closes all open channels (amongst the first 1000
     used in the session).

     Channels are closed at the end of an R session, and may also be
     closed by garbage collection if no object refers to them.  In both
     cases a warning is given (but may not be seen at the end of a
     console session).

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

     Function 'odbcClose' returns invisibly a logical indicating if it
     succeeded.

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

     Michael Lapsley and Brian Ripley

_S_e_e _A_l_s_o:

     'odbcConnect'

