Prints the start and end values for a character vector. The number of values printed depend on the width of the screen by default.
Prints the start and end values for a character vector. The number of values printed depend on the width of the screen by default.
limited_print(
chars,
prefix = "",
sep = ", ",
mid = " ... ",
trunc_char = "[truncated]",
max_chars = getOption("width") - nchar(prefix) - 5,
type = "message"
)limited_print(
chars,
prefix = "",
sep = ", ",
mid = " ... ",
trunc_char = "[truncated]",
max_chars = getOption("width") - nchar(prefix) - 5,
type = "message"
)
`NULL`
`NULL`
(`character`) What to print.
(`character` of length 1) What to print before `chars`, on the same line.
What to put between consecutive values
What is used to indicate omitted values
What is appended onto truncated values
(`numeric` of length 1) The maximum number of characters to print.
(`"error"`, `"warning"`, `"message"`, `"cat"`, `"print"`, `"silent"`, `"plain"`)