An output wrapper for language engine output
If you have designed a language engine, you may call this function in the end to format and return the text output from your engine.
engine_output(options, code, out, extra = NULL)
a list of chunk options (usually this is just the object
optionspassed to the engine function; see
the source code of the chunk, to which the output hook
sourceis applied, unless the chunk option
echo == FALSE
the text output from the engine, to which the hook
outputis applied, unless the chunk option
results == 'hide'
any additional text output that you want to include
A character string generated from the source code and output using the appropriate output hooks.