RweaveTextile | 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.
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()
file |
file |
syntax |
syntax |
output |
output |
quiet |
quite |
debug |
debug |
... |
... |
use.cache |
use.cache |
None value is returned. From a .Rnw noweb file, the corresponding .txt is produced (as eventuals files for graphs).
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
.
David Hajage dhajage@gmail.com
Sweave
, Textile
## Not run:
Textile("file.Rnw")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.