RdUtils                 package:base                 R Documentation

_U_t_i_l_i_t_i_e_s _f_o_r _P_r_o_c_e_s_s_i_n_g _R_d _F_i_l_e_s

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

     Utilities for converting files in R documentation (Rd) format to
     other formats or create indices from them, and for converting
     documentation in other formats to Rd format.

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

     R CMD Rdconv [options] file
     R CMD Rd2dvi [options] files
     R CMD Rd2txt [options] file
     R CMD Sd2Rd [options] file

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

    file: the path to a file to be processed.

   files: a list of file names specifying the R documentation sources
          to use, by either giving the paths to the files, or the path
          to a directory with the sources of a package.

 options: further options to control the processing, or for obtaining
          information about usage and version of the utility.

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

     'Rdconv' converts Rd format to other formats.  Currently, plain
     text, HTML, LaTeX, S version 3 (Sd), and S version 4 (.sgml)
     formats are supported.  It can also extract the examples for
     run-time testing.

     'Rd2dvi' and 'Rd2txt' are user-level programs for producing
     DVI/PDF output or pretty text output from Rd sources.

     'Sd2Rd' converts S (version 3 or 4) documentation formats to Rd
     format.

     Use 'R CMD foo --help' to obtain usage information on utility
     'foo'.

_N_o_t_e:

     Conversion to S version 3/4 formats is rough: there are some '.Rd'
     constructs for which there is no natural analogue. They are
     intended as a starting point for hand-tuning.

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

     The chapter "Processing Rd format" in "Writing R Extensions" (see
     the 'doc/manual' subdirectory of the R source tree).

