print_to_string: Capture output and return as string

Description Usage Arguments Value

Description

Take output from a segment of code and return it as a single string.

Usage

1
print_to_string(expr, condense = FALSE)

Arguments

expr

the expression to be evaluated

condense

whether empty lines should be stripped from the output

Value

a single string of the captured output


lengning/gClinBiomarker documentation built on May 9, 2019, 2:55 p.m.