limited_print {taxa} | R Documentation |
Print a subset of a character vector
Description
Prints the start and end values for a character vector. The number of values printed depend on the width of the screen by default.
Usage
limited_print(
chars,
prefix = "",
sep = ", ",
mid = " ... ",
trunc_char = "[truncated]",
max_chars = getOption("width") - nchar(prefix) - 5,
type = "message"
)
Arguments
chars |
( |
prefix |
( |
sep |
What to put between consecutive values |
mid |
What is used to indicate omitted values |
trunc_char |
What is appended onto truncated values |
max_chars |
( |
type |
( |
Value
NULL
Examples
taxa:::limited_print(1:100)
taxa:::limited_print(1:10000)
taxa:::limited_print(1:10000, prefix = "stuff:")
[Package taxa version 0.4.3 Index]