vcat.RdConcatenate vector elements or anything using
paste(*, collapse = .).
These are simple short abbreviations I have been using in my own codes
in many places.
vcat(vec, sep = " ")
ccat(...)The functions are really just defined as
a character string (of length 1) with the concatenated arguments.
paste, as.character,
format. cat() is really for printing.
ch <- "is"
ccat("This ", ch, " it: ", 100, "%")
#> [1] "This is it: 100%"
vv <- c(1,pi, 20.4)
vcat(vv)
#> [1] "1 3.14159265358979 20.4"
vcat(vv, sep = ", ")
#> [1] "1, 3.14159265358979, 20.4"