read.00Index              package:tools              R Documentation

_R_e_a_d _0_0_I_n_d_e_x-_s_t_y_l_e _F_i_l_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Read item/description information from 00Index-style files.  Such
     files are description lists rendered in tabular form, and
     currently used for the 'INDEX' and 'demo/00Index' files of add-on
     packages.

_U_s_a_g_e:

     read.00Index(file)

_A_r_g_u_m_e_n_t_s:

    file: the name of a file to read data values from.  If the
          specified file is '""', then input is taken from the keyboard
          (in this case input can be terminated by a blank line).
          Alternatively, 'file' can be a 'connection', which will be
          opened if necessary, and if so closed at the end of the
          function call.

_V_a_l_u_e:

     a character matrix with 2 columns named '"Item"' and
     '"Description"' which hold the items and descriptions.

_S_e_e _A_l_s_o:

     'formatDL' for the inverse operation of creating a 00Index-style
     file from items and their descriptions.

