Add R script into a document object
addRScript(doc, rscript, file, text, ...)document object
R script file. Not used if text or rscript is provided.
character vector. The text to parse. Not used if file or rscript is provided.
an object of class RScript. Not
used if file or text is provided.
further arguments passed to other methods
a document object
You have to one of the following argument: file or text or rscript.