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

str %<s% envir

Arguments

str

charater string to be substituted into

envir

environemnt to look for values

Value

modified strings

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.

See also

Examples

"x is .(x)" %<s% list(x = 7)
#> [1] "x is 7"