Description Usage Arguments Supported Options Author(s) See Also
A driver for Sweave
that translates R code chunks in XML files
produced in Open Document Format (ODF) files.
1 2 3 4 5 6 7 8 9 10 |
file |
Name of Sweave source file. |
syntax |
An object of class |
output |
Name of output file, default is to remove extension
‘.nw’, ‘.Rnw’ or ‘.Snw’ and to add extension
‘.xml’. Any
directory names in |
quiet |
If |
debug |
If |
echo |
set default for option |
eval |
set default for option |
... |
optional arguments. This is used to pass the control object to the driver |
RweaveOdf
supports the following options for code chunks (the values
in parentheses show the default values):
logical (TRUE
). Include S code in the
output file?
logical (TRUE
). If FALSE
, the code chunk is not
evaluated, and hence no text or graphical output produced.
character string (verbatim
).
If verbatim
, the output of S commands is
included in the verbatim-like Soutput environment. If
xml
, the output is taken to be already proper XML markup
and included as is. If hide
, then all output is
completely suppressed (but the code executed during the weave).
logical (FALSE
)
If TRUE
, each expression in the
code chunk is wrapped into a print()
statement before evaluation,
such that the values of all expressions become visible.
logical (TRUE
). If TRUE
, visibility of values
emulates an interactive R session: values of assignments are not
printed, values of single objects are printed. If FALSE
,
output comes only from explicit print
or
cat
statements.
logical (FALSE
), indicating whether the code
chunk produces
graphical output. Note that only one figure per code chunk can be
processed this way.
Note that image options, such as the image type and size, are set using setImageDefs
.
Max Kuhn, based on RweaveLatex
by Friedrich Leisch
Sweave
, odfWeave
, setImageDefs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.