Reputation: 593
Here's a simple one:
a <- "a" cat(a,"b") "a b"
Why is there a whitespace between them? How to remove it so it come out like this:
"ab"
Upvotes: 10
Views: 9424
Reputation: 3043
You can also try this one
cat(paste0(a, "b"))