noquote
Remove Quotation Marks from a String

Description

Removes quotation marks from a character string or a vector of character strings in preparation of printing.

Usage

noquote(obj)

Arguments

obj any expression.
Value
returns the value of the expression with the noquote class added, which can then be passed to print, suppressing printing quotation marks around the string(s).
See Also
print
Examples
s <- noquote(Sdatasets::state.abb)
s[10:12]
Package base version 6.0.0-69
Package Index