I don't seem to see a difference between paste
/paste0
and str_c
for combining a single vector into a single string, multiple strings into one string, or multiple vectors into a single string.
While I was writing the question I found this: https://www.rdocumentation.org/packages/stringr/versions/1.3.1/topics/str_c. The community example from richie@datacamp.com says the difference is is that str_c
treats blanks as blanks (not as NAs) and recycles more appropriately. Any other differences?