Tobias Verbeke wrote:
Hi Ari,

How do I do simple string concatenation in R? For example:
A = "klm"
B = "jjj"
How can I assign a value to C such that C == "klmjjj" is True?

paste(A, B, collapse = "")

Oops.

paste(A, B, sep = "")

Best,
Tobias

______________________________________________
R-help@r-project.org 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