Learn R Programming

cwhmisc (version 3.0)

pasteInfix: Paste(infix)

Description

Paste as infix

Usage

a %&% b

Arguments

a
an Robjects, to be coerced to character vectors.
b
an Robjects, to be coerced to character vectors.

Value

  • The concatenation of a and b, same as paste(a, b, sep="")

See Also

String manipulation with paste, as.character, substr, nchar, strsplit; further, cat which concatenates and writes to a file, and sprintf for C like string construction.

Examples

Run this code
"I am" %&% "hungry" # [1] "I am hungry"

Run the code above in your browser using DataLab