RweaveTextile {ascii} | R Documentation |
A driver to parse textile noweb files with Sweave tool This driver parses textile files containing R code and replace pieces of code with their output.
Description
A driver to parse textile noweb files with Sweave tool This driver parses textile files containing R code and replace pieces of code with their output.
RweaveTextileSetup
weaverTextileSetup
weaverTextile
Usage
RweaveTextile()
RweaveTextileSetup(
file,
syntax,
output = NULL,
quiet = FALSE,
debug = FALSE,
extension = "txt",
backend = "textile",
openSchunk = "\nbc.. ",
closeSchunk = "\n\np. \n\n",
openSinput = "",
closeSinput = "",
openSoutput = "\n",
closeSoutput = "",
indent = "",
openInclude = "",
closeInclude = "",
openFig = "!",
closeFig = "!",
...
)
weaverTextileSetup(
file,
syntax,
output = NULL,
quiet = FALSE,
debug = FALSE,
extension = "txt",
backend = "textile",
openSchunk = "\nbc.. ",
closeSchunk = "\n\np. \n\n",
openSinput = "",
closeSinput = "",
openSoutput = "\n",
closeSoutput = "",
indent = "",
openInclude = "",
closeInclude = "",
openFig = "!",
closeFig = "!",
use.cache = TRUE,
...
)
weaverTextile()
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 .txt is produced (as eventuals files for graphs).
Note
In order to work properly, noweb codes have to be located at the beginning of a line (no indentation).
Compare with RweaveLatex driver, RweaveTextile provides one new option :
format
to choose the format of figure that will be inserted in the
final document.
In addition, cache
option from weaver
package is also available with weaverTextile
driver.
A wrapper for Sweave
can be used, named Textile
.
Author(s)
David Hajage dhajage@gmail.com
See Also
Examples
## Not run:
Textile("file.Rnw")
## End(Not run)