as_chr | R Documentation |
Recursively applies base::as.character()
to its inputs.
as_chr(..., use_names = FALSE)
... |
R objects to be converted to a character vector. Dynamic dots are supported. |
use_names |
Whether or not to preserve names by |
A character vector.
Other string functions:
as_comment_str()
,
as_line_feed_chr()
,
as_str()
,
capitalize_first()
,
dsv_colnames()
,
enum_str()
,
escape_lf()
,
fuse_regex()
,
prettify_nr()
,
sentenceify()
,
wrap_chr()
library(magrittr)
to_convert <-
list(tibble::tibble(a = 1:3), "A", factor("wonderful"), xfun::strict_list("day")) %T>%
print()
as.character(to_convert)
pal::as_chr(!!!to_convert)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.