quotes {eply}R Documentation

Function quotes

Description

Put quotes around each element of a character vector.

Usage

quotes(x = NULL, single = FALSE)

Arguments

x

character vector or object to be coerced to character.

single

Add single quotes if TRUE and double quotes otherwise.

Value

character vector with quotes around it

See Also

unquote, strings, eply, help_eply

Examples

quotes(letters[1:3])
quotes(letters[1:3], single = TRUE)
quotes(letters[1:3], single = FALSE)

[Package eply version 0.1.2 Index]