grapes-less-than-s-grapes: Dot substitution string interpolation.

%<s%R Documentation

Dot substitution string interpolation.

Description

String interpolation using bquote-stype .() notation. Pure R, no C/C++ code called.

Usage

str %<s% envir

Arguments

str

charater string to be substituted into

envir

environemnt to look for values

Details

See also https://CRAN.R-project.org/package=R.utils, https://CRAN.R-project.org/package=rprintf, and https://CRAN.R-project.org/package=glue.

Value

modified strings

See Also

strsplit_capture, si

Examples


"x is .(x)" %<s% list(x = 7)



wrapr documentation built on Aug. 20, 2023, 1:08 a.m.