nchar_sgr | R Documentation |
These functions are deprecated in favor of the nchar_ctl
and
nzchar_ctl
.
nchar_sgr(
x,
type = "chars",
allowNA = FALSE,
keepNA = NA,
warn = getOption("fansi.warn", TRUE)
)
nzchar_sgr(x, keepNA = NA, warn = getOption("fansi.warn", TRUE))
x |
a character vector or object that can be coerced to such. |
type |
character(1L) partial matching
|
allowNA |
logical: should |
keepNA |
logical: should |
warn |
TRUE (default) or FALSE, whether to warn when potentially
problematic Control Sequences are encountered. These could cause the
assumptions |
Like base::nchar
, with Control Sequences excluded.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.