display_wrapped | R Documentation |
Each string is split in pieces not exceeding a certain length by using HOQCutil::hard_split
or stringr::str_wrap
display_wrapped(
strings,
width = getOption("width", 110) - 3,
force_wrap = FALSE
)
strings |
A vector of strings |
width |
The width (length) that each line will have (at most). Default |
force_wrap |
Boolean When TRUE forces the use of |
## Not run:
x=glue::glue_collapse(rep(c(letters,' '),5))
display_wrapped(c(x,x),60)
display_wrapped(c(x,x),60,T)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.