printToChar | R Documentation |
Prints object to a string / character vector.
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.