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
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\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, ...)
Sweave
, ReST
## Not run:
# library(ascii)
# ReST("file.Rnw")
# ## End(Not run)
Run the code above in your browser using DataLab