text_show: showing text

Description Usage Arguments

View source: R/text_show.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
text_show(
  x,
  length = 500,
  from = NULL,
  to = NULL,
  coll = FALSE,
  wrap = FALSE,
  ...
)

## Default S3 method:
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


stringb documentation built on Jan. 26, 2021, 1:07 a.m.

Related to text_show in stringb...