quoting | R Documentation |
These functions make it easy to quote each individual element and are useful
in conjunction with glue_collapse()
. These are thin wrappers around
base::encodeString()
.
single_quote(x)
double_quote(x)
backtick(x)
x |
A character to quote. |
A character vector of the same length as x
, with the same
attributes (including names and dimensions) but with no class set.
Marked UTF-8 encodings are preserved.
x <- 1:5
glue('Values of x: {glue_collapse(backtick(x), sep = ", ", last = " and ")}')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.