concatenate {concatenate}R Documentation

concatenate: Comma Concatenation

Description

Each function in concatenate returns a comma-separated string. (A length-one character vector.) They can be used to construct human-friendly messages whose elements aren't known in advance, like calls to message, warning or stop, from clean code.

Details

The workhorse function is cc. cn combines it with grammatical number awareness, as in ngettext, and sprintf-like substitution.


[Package concatenate version 1.0.0 Index]