printStrToChar: Print 'str(x)' of an object to a string / character vector.

View source: R/printStrToChar.R

printStrToCharR Documentation

Print str(x) of an object to a string / character vector.

Description

Print str(x) of an object to a string / character vector.

Usage

printStrToChar(x, collapse = "\n")

Arguments

x

[any]
Object to print

collapse

[character(1)]
Used to collapse multiple lines. NULL means no collapsing, vector is returned. Default is ā€œ\nā€.

Value

[character].

Examples

printStrToChar(iris)

BBmisc documentation built on Sept. 29, 2022, 5:12 p.m.