Description Usage Arguments Value Examples
Prints the start and end values for a character vector. The number of values printed depend on the width of the screen by default.
1 2 3 4 5 6 7 8 9 | limited_print(
chars,
prefix = "",
sep = ", ",
mid = " ... ",
trunc_char = "[truncated]",
max_chars = getOption("width") - nchar(prefix) - 5,
type = "message"
)
|
chars |
( |
prefix |
( |
sep |
What to put between consecutive values |
mid |
What is used to indicate omitted values |
max_chars |
( |
type |
( |
trunc |
What is appended onto truncated values |
NULL
1 2 3 | taxa2:::limited_print(1:100)
taxa2:::limited_print(1:10000)
taxa2:::limited_print(1:10000, prefix = "stuff:")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.