Description Usage Arguments See Also Examples
Colored RScript object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | RScript(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 = "blue"),
argument.properties = textProperties(color = "#666666"),
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"),
par.properties = parProperties())
|
file |
R script file. Not used if text is provided. |
text |
character vector. The text to parse. Not used if file is provided. |
comment.properties |
comment txtProperties object |
roxygencomment.properties |
roxygencomment txtProperties object |
symbol.properties |
symbol txtProperties object |
operators.properties |
operators txtProperties object |
keyword.properties |
keyword txtProperties object |
string.properties |
string txtProperties object |
number.properties |
number txtProperties object |
functioncall.properties |
functioncall txtProperties object |
argument.properties |
argument txtProperties object |
package.properties |
package txtProperties object |
formalargs.properties |
formalargs txtProperties object |
eqformalargs.properties |
eqformalargs txtProperties object |
assignement.properties |
assignement txtProperties object |
slot.properties |
slot txtProperties object |
default.properties |
default txtProperties object |
par.properties |
a parProperties object |
1 2 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.