View source: R/text_formatting.R
concat_with_nl | R Documentation |
Combine strings, as separate lines of text.
concat_with_nl(s, ..., start_par = FALSE, extra_lines = 0, collapse = "")
s |
A character string |
... |
Additional character strings |
start_par |
Put an extra newline between each pair of strings, so each string starts a new paragraph. |
extra_lines |
Number of extra newlines to append after each string. |
collapse |
Extra characters to insert between the strings. |
Take two or more lines of text. Make sure they each end with a newline and then concatenate them.
A character string.
concat_with_nl("foo", "bar")
concat_with_nl("foo", "bar", start_par = TRUE)
concat_with_nl("foo", "bar", collapse = "...")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.