Learn R Programming

ascii (version 2.3)

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()

Arguments

file

file

syntax

syntax

output

output

quiet

quite

debug

debug

...

...

use.cache

use.cache

stylepath

stylepath

Value

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

See Also

Sweave, ReST

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
ReST("file.Rnw")
  
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab