Rdindex                package:tools                R Documentation

_G_e_n_e_r_a_t_e _I_n_d_e_x _f_r_o_m _R_d _F_i_l_e_s

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

     Print a 2-column index table with names and titles from given R
     documentation files to a given output file or connection.  The
     titles are nicely formatted between two column positions
     (typically 25 and 72, respectively).

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

     Rdindex(RdFiles, outFile = "", type = NULL,
             width = 0.9 * getOption("width"), indent = NULL)

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

 RdFiles: a character vector specifying the Rd files to be used for
          creating the index, either by giving the paths to the files,
          or the path to a single directory with the sources of a
          package.

 outFile: a connection, or a character string naming the output file to
          print to.  '""' (the default) indicates output to the
          console.

    type: a character string giving the documentation type of the Rd
          files to be included in the index, or 'NULL' (the default).
          The type of an Rd file is typically specified via the
          '\docType' tag; if 'type' is '"data"', Rd files whose _only_
          keyword is 'datasets' are included as well.

   width: a positive integer giving the target column for wrapping
          lines in the output.

  indent: a positive integer specifying the indentation of the second
          column.  Must not be greater than 'width/2', and defaults to
          'width/3'.

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

     If a name is not a valid alias, the first alias (or the empty
     string if there is none) is used instead.

