Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

quoting

Quoting operators


Description

These functions make it easy to quote each individual element and are useful in conjunction with glue_collapse().

Usage

single_quote(x)

double_quote(x)

backtick(x)

Arguments

x

A character to quote.

Examples

x <- 1:5
glue('Values of x: {glue_collapse(backtick(x), sep = ", ", last = " and ")}')

glue

Interpreted String Literals

v1.4.2
MIT + file LICENSE
Authors
Jim Hester [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.