View source: R/old_taxa--internal.R View source: R/internal.R
limited_print | R Documentation |
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"
)
chars |
('character') What to print. |
prefix |
('character' of length 1) What to print before 'chars', on the same line. |
sep |
What to put between consecutive values |
mid |
What is used to indicate omitted values |
max_chars |
('numeric' of length 1) The maximum number of characters to print. |
type |
('"error"', '"warning"', '"message"', '"cat"', '"print"', '"silent"', '"plain"') |
trunc |
What is appended onto truncated values |
'NULL'
'NULL'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.