addRScript: Add R script into a document object
Description
Add R script into a document object
Usage
addRScript(doc, rscript, file, text, ...)
Arguments
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
Details
You have to one of the following argument: file or text or rscript.