Learn R Programming

admiraldev (version 1.2.0)

dquote: Wrap a String in Double Quotes

Description

Wrap a string in double quotes, e.g., for displaying character values in messages.

Usage

dquote(x)

Value

If the input is NULL, the text "NULL" is returned. Otherwise, the input in double quotes is returned.

Arguments

x

A character vector

See Also

Helpers for working with Quotes and Quoting: backquote(), enumerate(), squote()