allstreams             package:Rstreams             R Documentation

_G_e_t _A_l_l _O_p_e_n _S_t_r_e_a_m_s

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

     Gets a vector containing all currently open binary stream files.

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

       allstreams()

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

     Only currently open streams will be returned.

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

     a vector of stream handles, of class `"stream"'.

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

     `openstream'

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

     # Print a list of all open streams
     allstreams()
     # Close the second open stream
     closestream(allstreams()[2])
     # Close all streams
     closestream('all')

