qw | R Documentation |
Similar to perls qw()
, however, in R spaces between args in function call
always cause an error, so qw(foo bar)
wouldn't work. Workaround is either a
single string split at spaces, or unquoted elements, separated by commas.
qw(x)
qc(...)
x |
A single string of elements to be split at whitespace chars. |
... |
Unquated words, separated by comma. |
Took inspiration from stackoverflow/qw and github/Jarrett Byrnes
A vector of quoted words.
qw("foo bar") # with a strsplit
qc(foo, bar) # or unquoted, but with commas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.