ReporteRs (version 0.5.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

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.

rscript

an object of class RScript. Not used if file or text 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.html, addRScript.docx , addRScript.pptx