File: quote.R

package info (click to toggle)
r-cran-memisc 0.99.31.8.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,136 kB
  • sloc: ansic: 5,117; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 228 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
sQuote <- function (x)
{
    if (length(x) == 0)
        return(character())
    paste("'", x, "'", sep = "")
}

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