CodeBlock
From ReporteRs v0.8.10
by David Gohel
Code Block Object
Code Block Object. A code block object is a block of text treated as verbatim text in a document object.
Usage
CodeBlock(file, text, text.properties = textProperties(color = "#A7947D"),
par.properties = parProperties(text.align = "left", shading.color =
"#5FB0B8"))
Arguments
- file
script file. Not used if text is provided.
- text
character vector. The text to parse. Not used if file is provided.
- text.properties
default textProperties object
- par.properties
default parProperties object
See Also
Examples
# NOT RUN {
cb_example <- CodeBlock( text = "ls -a\nwhich -a ls" )
# }
Community examples
Looks like there are no examples yet.