CLI text

txt(x)

verbatim(x)

Arguments

x

character.

Value

Console output, with invisible return of x input.

Functions

  • txt: Print to screen, wrapping to screen with automatically. Exporting txt instead of text here, to avoid masking stats::text.

  • verbatim: Print to screen, without any automatic wrapping.

Note

Updated 2020-02-02.

Examples

## Wrapping txt(c("hello", " world"))
#> hello world
## No wrapping verbatim(c("hello", "world"))
#> hello #> world