Usage
# S3 method for docx
addRScript(doc, file, text,
comment.properties = textProperties(color = "#A7947D"),
roxygencomment.properties = textProperties(color = "#5FB0B8"),
symbol.properties = textProperties(color = "black"),
operators.properties = textProperties(color = "black"),
keyword.properties = textProperties(color = "#4A444D"),
string.properties = textProperties(color = "#008B8B", font.style =
"italic"), number.properties = textProperties(color = "blue"),
functioncall.properties = textProperties(color = "#823C3C"),
argument.properties = textProperties(color = "#F25774"),
package.properties = textProperties(color = "green"),
formalargs.properties = textProperties(color = "#424242"),
eqformalargs.properties = textProperties(color = "#424242"),
assignement.properties = textProperties(color = "black"),
slot.properties = textProperties(color = "#F25774"),
default.properties = textProperties(color = "black"), stylename, bookmark,
...)