As my question was marked as duplicate, let me ask it in another way. Imagine, that I ask you: what will be printed out by this code:
y <- list(c('hello','world'), c('good','morning'))
z <- paste(y, sep = '')
print(z)
If you don't know what will be, how can you get answer using R-docs? Is there a way to get answer without runinng code?
First version of my question is: My code is:
y <- list(c('hello','world'), c('good','morning'))
z <- paste(y, sep = '')
print(z)
[1] "c(\"hello\", \"world\")" "c(\"good\", \"morning\")"
My question is why output of paste() has such pieces like "c(\" and ")", and how can I remove them?