Learn R Programming

stringb (version 0.1.17)

text_show: showing text

Description

shows text or portions of the text via cat and the usage of text_snippet()

Usage

text_show(
  x,
  length = 500,
  from = NULL,
  to = NULL,
  coll = FALSE,
  wrap = FALSE,
  ...
)

# S3 method for default text_show( x, length = 500, from = NULL, to = NULL, coll = FALSE, wrap = FALSE, ... )

Arguments

x

text to be shown

length

number of characters to be shown

from

show from ith character

to

show up to ith character

coll

should x be collapsed using newline character as binding?

wrap

should text be wrapped, or wrapped to certain width, or wrapped by certain function

...

further arguments passed through to cat