Learn R Programming

pkgcond (version 0.1.1)

infix-concatenation: Infix string concatenation.

Description

The infix operators listed here are three versions of paste.

  • %\% is for preserving line breaks

  • %<<% is an infix replacement for paste

  • %<<<% is paste with no space and no break."

Usage

lhs %<<% rhs<="" p="">

lhs %<<

Arguments

lhs

left string

rhs

right string

Examples

Run this code
# NOT RUN {
who <- "world"
'hello_' %<<<% who

'Sing with me' %<<% head(letters) %<<% '...'
# }

Run the code above in your browser using DataLab