cacheSweaveReSTSetup(..., cache = FALSE, trace = FALSE, dependson = NULL)RweaveReSTSetup(file, syntax, output = NULL, quiet = FALSE, debug = FALSE, extension = "rst", backend = "docutils, sphinx, ...", openSchunk = ".. code-block:: r", closeSchunk = "", openSinput = "", closeSinput = "", openSoutput = "", 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", closeSchunk = "", openSinput = "", closeSinput = "", openSoutput = "", closeSoutput = "", indent = " ", openInclude = ".. include::", closeInclude = ".rst", openFig = ".. image:: ", closeFig = "", use.cache = TRUE, ...)
- trace
{trace}
- dependson
{dependson}
- file
{file}
- syntax
{syntax}
- output
{output}
- quiet
{quite}
- debug
{debug}
- stylepath
{stylepath}
- ...
{...}
- use.cache
{use.cache}
None value is returned. From a .Rnw noweb file, the corresponding
.rst is produced (as eventuals files for graphs).
A driver to parse rest noweb files with Sweave tool - cacheSweave based
A driver to parse rest noweb files with Sweave tool - cacheSweave based
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
In order to work properly, noweb codes have to be located at the
beginning of a line (no indentation).
Compare with RweaveLatex driver, RweaveReST provides one new option :
format
to choose the format of figure that will be inserted in the
final document.
In addition, cache
option from cacheSweave
or weaver
package is also available with cacheSweaveReST
driver and
weaverReST
driver.
A wrapper for Sweave
can be used, named ReST
.
library(ascii)
ReST("file.Rnw")
[object Object]
Sweave
, ReST
file
internal
IO