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, 2008
      <URL: http://www.stat.uni-muenchen.de/~leisch/Sweave>

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

     'Sweave', 'RweaveLatex'

