powered by
These functions make it easy to quote each individual element and are useful in conjunction with glue_collapse().
glue_collapse()
single_quote(x)double_quote(x)backtick(x)
double_quote(x)
backtick(x)
A character to quote.
# NOT RUN { x <- 1:5 glue('Values of x: {glue_collapse(backtick(x), sep = ", ", last = " and ")}') # }
Run the code above in your browser using DataLab