close                  package:nws                  R Documentation

_C_l_o_s_e _a _S_l_e_i_g_h _o_r _n_e_t_W_o_r_k_S_p_a_c_e

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

     If the first argument is a 'sleigh' object, then 'close' calls 
     'stopSleigh' to shut down the sleigh workers and delete the sleigh
      workspace.  If the first argument is a 'nwsServer' object, then
     the connection to the netWorkSpace server is closed.

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

     ## S4 method for signature 'nwsServer':
     close(con, ...)
     ## S4 method for signature 'sleigh':
     close(con, ...)

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

     con: an object of class 'sleigh' or 'nwsServer'.

     ...: optional fields

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

     The optional arguments are not passed to 'stopSleigh' method. 
     They are defined to be compatible with the default, non-generic 
     'close' method.

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

     ## Not run: 
     s = sleigh()
     close(s)

     wss = nwsServer()
     close(wss)
     ## End(Not run)

