ascii (version 2.4)

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 = ".. code-block:: r\n", closeSchunk = "\n\n", openSinput = "", closeSinput = "", openSoutput = "\n", closeSoutput = "", indent = " ", openInclude = ".. include::", closeInclude = ".rst", openFig = ".. image:: ", closeFig = "", ... )

weaverReSTSetup( file, syntax, output = NULL, quiet = FALSE, debug = FALSE, extension = "rst", backend = "docutils, sphinx, ...", openSchunk = ".. code-block:: r\n", closeSchunk = "\n\n", openSinput = "", closeSinput = "", openSoutput = "\n", closeSoutput = "", indent = " ", openInclude = ".. include::", closeInclude = ".rst", openFig = ".. image:: ", 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

stylepath

stylepath

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