Description Usage Arguments Details Note Author(s) Examples
write single spaced text in (by default) Courier font to word. This is useful to render R output 'as is'.
1 | wdVerbatim(text = "", paragraph = TRUE, fontsize = 9, fontname = "Courier New", wdapp = .R2wd)
|
text |
the text to write |
paragraph |
whether the chunk should be closed by a paragraph return. |
fontsize |
size of the font |
fontname |
name of the font |
wdapp |
handle to the Word application (usually not used). |
Saves the current style. Wwitches to Courier New, single spaced, 9 pt (by default) and renders the text. Switches back to the previous style.
This is almost the similar to wdBody
and wdWrite
.
Christian Ritter
1 2 3 4 5 6 | ## Not run:
wdGet()
tt<-capture.output(summary(lm(mpg~hp,data=mtcars)))
wdVerbatim(tt)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.