charvec_tc | R Documentation |
Concatenate the elements of a character vector and copy the collapsed string to the clipboard.
charvec_tc(x, quote = TRUE, linebreaks = TRUE)
x |
Character vector |
quote |
Put quotation marks around elements? |
linebreaks |
Put linebreaks after each element? |
Fast way to create text like c("element1", "element2", ...)
for pasting into code.
Nothing - copies result to clipboard.
x <- c("asdjalksjdlaksjd", "12312093u10923012", "asd")
charvec_tc(x)
charvec_tc(x, quote = FALSE, linebreaks = TRUE)
charvec_tc(x, quote = TRUE, linebreaks = FALSE)
charvec_tc(x, quote = FALSE, linebreaks = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.