safeQuote: Single-quote Conditionally

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Place single quotes around text that contains space and is not already quoted.

Usage

1

Arguments

x

character

Details

Text is already quoted if it begins with a single or double quote.

Value

character

Author(s)

Tim Bergsma

References

http://metrumrg.googlecode.com

See Also

Examples

1
safeQuote(c("text","more text",'"already quoted"'))

metrumrg documentation built on May 2, 2019, 5:55 p.m.