infix: Binary Infix Concatenation

Description Usage Arguments Examples

Description

%+%:

binary infix operator for strings.

% + %:

like %+% but with a space between its inputs.

%,%, %or%, %and%:

infix versions of cc, cc_or, cc_and.

Usage

1
2
3
4
5
6
7
8
9
x %+% y

x % + % y

x %,% y

x %or% y

x %and% y

Arguments

x, y

Character vectors.

Examples

1
2
3
4
v <- "important value"
v %+% "!"

message("Two" % + % "words")

Example output

[1] "important value!"
Two words

concatenate documentation built on May 1, 2019, 8:05 p.m.