Hi all,

I have a vector and want to merge its elements one by
one into a single string or number. For example,
x=c(1,2,3), what I want is a new number 123. I used
"paste" but it just output "1" "2" "3" which is not
what I want. Is there any way to do this?

Thanks!

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to