Learn R Programming

berryFunctions (version 1.9.0)

pastec: Paste with collapse = ", "

Description

paste with collapse = ", "

Usage

pastec(..., sep=" ", collapse=", " )

Arguments

...
Object(s) to be pasted to a character vector
sep
Character string to separate single strings. DEFAULT: " "
collapse
Character string between combined strings. DEFAULT: ", "

Value

  • Single character string

See Also

paste, paste0

Examples

Run this code
listoferrors <- c("filetype", "header", "nonemptyline")
message("The following entities were corrupted:
", pastec(listoferrors))

Run the code above in your browser using DataLab