ReporteRs (version 0.7.8)

addRScript: Add R script into a document object

Description

Add R script into a document object

Usage

addRScript(doc, rscript, file, text, ...)

Arguments

doc
document object
rscript
an object of class RScript. Not used if file or text is provided.
file
R script file. Not used if text or rscript is provided.
text
character vector. The text to parse. Not used if file or rscript is provided.
...
further arguments passed to other methods

Value

  • a document object

Details

You have to one of the following argument: file or text or rscript.

See Also

addRScript.bsdoc, addRScript.docx , addRScript.pptx