View source: R/escaped_quote.R
escapedQuote | R Documentation |
This helper prepares character vectors for use in shell commands by
quoting them with shQuote()
and (double) escaping any internal
double quotes.
escapedQuote(x, double = FALSE)
x |
A character vector that may contain double quotes. |
double |
Boolean. Should the quotes be escaped twice? Default: FALSE |
A character vector with all double quotes double escaped so that it can safely be passed to a command line call.
## Not run:
escapedQuote('foo "bar" baz')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.