dQuote(x) sQuote(x)
dQuote
puts double quotes around text,
and
sQuote
adds single quotes.
These functions emulate R's
dQuote
and
sQuote
functions.
In S-PLUS only undirectional ASCII quotation style
is provided, whereas in R localization information is considered.
warning("The argument ", dQuote("names"), " must be a character vector.") msg <- paste("The function", sQuote("dQuote"), "is used to put", sQuote("\""), "around a string.") cat("lowercase letters: ", dQuote(letters), "\n")