Learn R Programming

ascii (version 2.6)

RweaveReST: A driver to parse sphinx noweb files with Sweave tool This driver parses sphinx files containing R code and replace pieces of code with their output.

Description

A driver to parse sphinx noweb files with Sweave tool This driver parses sphinx files containing R code and replace pieces of code with their output.

RweaveReSTSetup

weaverReSTSetup

weaverReST

Usage

RweaveReST()

RweaveReSTSetup( file, syntax, output = NULL, quiet = FALSE, debug = FALSE, extension = "rst", backend = "docutils, sphinx, ...", openSchunk = "\n.. code-block:: r\n", closeSchunk = "\n\n", openSinput = "", closeSinput = "", openSoutput = "\n\n", closeSoutput = "\n", indent = " ", openInclude = ".. include::", closeInclude = ".rst", openFig = ".. figure:: ", closeFig = "", ... )

weaverReSTSetup( file, syntax, output = NULL, quiet = FALSE, debug = FALSE, extension = "rst", backend = "docutils, sphinx, ...", openSchunk = "\n.. code-block:: r\n", closeSchunk = "\n\n", openSinput = "", closeSinput = "", openSoutput = "\n\n", closeSoutput = "\n", indent = " ", openInclude = ".. include::", closeInclude = ".rst", openFig = ".. figure:: ", closeFig = "", use.cache = TRUE, ... )

weaverReST()

Value

None value is returned. From a .Rnw noweb file, the corresponding .rst is produced (as eventuals files for graphs).

Arguments

file

file

syntax

syntax

output

output

quiet

quite

debug

debug

...

...

use.cache

use.cache

Author

David Hajage dhajage@gmail.com

See Also

Sweave, ReST

Examples

Run this code
  if (FALSE) {
ReST("file.Rnw")
  }

Run the code above in your browser using DataLab