apply_word_wrap | R Documentation |
Apply word-wrap to text, recognizing whitespace and some punctuation
apply_word_wrap(x, width = 15, sep = "\n", ...)
x |
|
width |
|
sep |
|
... |
additional arguments are ignored. |
character
vector by default, however when sep=NULL
it returns a list
of character
vectors.
x <- c("logFC dH1A_VEH_ATAC-UL3_VEH_ATAC",
"logFC dH1A_VEH_ATAC_UL3_VEH_ATAC",
"one-two-three-four-five-six-seven")
cat(apply_word_wrap(x), sep="\n--\n")
apply_word_wrap(x, sep=NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.