Sweave
that translates R code chunks in XML files
produced in Open Document Format (ODF) files.
RweaveOdf()
RweaveOdfSetup(file, syntax, output = NULL, quiet = FALSE, debug = FALSE, echo = TRUE, eval = TRUE, ...)
SweaveSyntax
.file
are also removed such that the output
is created in the current working directory.TRUE
all progress messages are suppressed.TRUE
, input and output of all code
chunks is copied to the console.echo
, see details below.eval
, see details below.RweaveOdf
supports the following options for code chunks (the values
in parentheses show the default values):
TRUE
). Include S code in the
output file?TRUE
). If FALSE
, the code chunk is not
evaluated, and hence no text or graphical output produced.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).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.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.FALSE
), indicating whether the code
chunk produces
graphical output. Note that only one figure per code chunk can be
processed this way.setImageDefs
. Sweave
, odfWeave
, setImageDefs