cc {ympes}R Documentation

Quote names

Description

cc() quotes comma separated names whilst trimming outer whitespace. It is intended for interactive use only.

Usage

cc(..., .clip = getOption("imp.clipboard", FALSE))

Arguments

...

Unquoted names (separated by commas) that you wish to quote.

Empty arguments (e.g. third item in ⁠one,two,,four⁠) will be returned as "".

.clip

⁠[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.

Note that copying to clipboard requires the availability of package clipr.

Value

A character vector of the quoted input.

Examples


cc(dale, audrey, laura, hawk)


[Package ympes version 1.3.0 Index]