quotes objects of type character with quoting character

hsQuoteChr(x, qchar = "'", escapeMethod = c("double", "backslash",
  "none"))

Arguments

x

vector or list of character strings

qchar

quoting character to be used. Default: single quote "'"

escapeMethod

one of "double", "backslash", "none" deciding how to treat the quote character if it occurs within the string to be quoted