I would like to transform c('1','2', 'text') into a character vector with only one elemenent c('1','2', 'text').
I have tried this:
> quote(c('1','2', 'text'))
c("1", "2", "text")
but
> class(quote(c('1','2', 'text')))
[1] "call"
and this:
> toString(quote(c('1','2', 'text')))
[1] "c, 1, 2, text"
which removes all the punctuation (while I would like to keep the exact same string).