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
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()
None value is returned. From a .Rnw noweb file, the corresponding .txt is produced (as eventuals files for graphs).
file
syntax
output
quite
debug
...
use.cache
David Hajage dhajage@gmail.com
Sweave
, Textile
if (FALSE) {
Textile("file.Rnw")
}
Run the code above in your browser using DataLab