| printToChar | R Documentation |
Captures the output of print() as a character string.
printToChar(x, collapse = "\n")
x |
[any] |
collapse |
[ |
[character].
x = data.frame(a = 1:2, b = 3:4)
str(printToChar(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.