R/quote.R

sQuote <- function (x)
{
    if (length(x) == 0)
        return(character())
    paste("'", x, "'", sep = "")
}

dQuote <- function (x)
{
    if (length(x) == 0)
        return(character())
    paste("\"", x, "\"", sep = "")
}

Try the memisc package in your browser

Any scripts or data that you put into this service are public.

memisc documentation built on March 31, 2023, 7:29 p.m.