powered by
cc() quotes comma separated names whilst trimming outer whitespace. It is intended for interactive use only.
cc()
cc(..., .clip = getOption("imp.clipboard", FALSE))
A character vector of the quoted input.
Either unquoted names (separated by commas) that you wish to quote or a length one character vector you wish to split by whitespace.
Empty arguments (e.g. third item in one,two,,four) will be returned as "".
one,two,,four
""
Character vectors not of length one are returned as is.
[bool]
Should the code to generate the constructed character vector be copied to your system clipboard.
Defaults to FALSE unless the option "imp.clipboard" is set to TRUE.
FALSE
Note that copying to clipboard requires the availability of package clipr.
cc(dale, audrey, laura, hawk) cc("dale audrey laura hawk")
Run the code above in your browser using DataLab