Rtangle                package:utils                R Documentation

_R _D_r_i_v_e_r _f_o_r _S_t_a_n_g_l_e

_D_e_s_c_r_i_p_t_i_o_n:

     A driver for 'Stangle' that extracts R code chunks.

_U_s_a_g_e:

     Rtangle()
     RtangleSetup(file, syntax, output = NULL, annotate = TRUE,
                  split = FALSE, prefix = TRUE, quiet = FALSE)

_A_r_g_u_m_e_n_t_s:

    file: Name of Sweave source file.

  syntax: An object of class 'SweaveSyntax'.

  output: Name of output file, default is to remove extension '.nw',
          '.Rnw' or '.Snw' and to add extension '.R'. Any directory
          names in 'file' are also removed such that the output is
          created in the current working directory.

annotate: By default, code chunks are separated by comment lines
          specifying the names and numbers of the code chunks. If
          'FALSE', only the code chunks without any decorating comments
          are extracted.

   split: Split output in single files per code chunk?

  prefix: If 'split = TRUE', prefix the chunk labels by the basename of
          the input file to get output file names?

   quiet: If 'TRUE' all progress messages are suppressed.

_A_u_t_h_o_r(_s):

     Friedrich Leisch

_R_e_f_e_r_e_n_c_e_s:

     Friedrich Leisch: Sweave User Manual, 2002
      <URL: http://www.ci.tuwien.ac.at/~leisch/Sweave>

_S_e_e _A_l_s_o:

     'Sweave', 'RweaveLatex'

