Learn R Programming

Rgnuplot (version 1.0.3)

sOp: String concatenation operator

Description

%s% concatenates 2 strings

Usage

x %s% y

Arguments

x
string
y
another string

Value

Examples

Run this code
# create two strings
## Not run: 
# t1 <- 'Hello'
# t2 <- 'World'
# # concatenate several strings with %s%
# t3 <- t1 %s% ' ' %s% t2
# print(t3)
# print(t3 %s% '!')
# ## End(Not run)

Run the code above in your browser using DataLab