Anyone know if R has quote-like operators like Perl's qw() for generating character vectors?
qw()
No, but you can write it yourself:
q <- function(...) { sapply(match.call()[-1], deparse) }
And just to show it works:
> q(a, b, c) [1] "a" "b" "c"
1.4m articles
1.4m replys
5 comments
57.0k users