Learn R Programming

backports (version 1.5.0)

dQuote: Backport of dQuote and sQuote for R < 3.6.0

Description

Argument q has been backported. See the original description in base::dQuote() and base::sQuote().

Usage

dQuote(x, q = getOption("useFancyQuotes"))

sQuote(x, q = getOption("useFancyQuotes"))

Arguments

Examples

Run this code
# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
bp_dQuote <- getFromNamespace("dQuote", "backports")
bp_dQuote("foo")
bp_dQuote("foo", q = TRUE)

Run the code above in your browser using DataLab