printToChar {BBmisc} | R Documentation |
Prints object to a string / character vector.
Description
Prints object to a string / character vector.
Usage
printToChar(x, collapse = "\n")
Arguments
x |
[any] |
collapse |
[ |
Value
[character
].
Examples
x = data.frame(a = 1:2, b = 3:4)
str(printToChar(x))
[Package BBmisc version 1.13 Index]