In R, I have two strings and one vector containing several strings.
str1 <- "this_guy"
str2 <- "that_guy"
strvec <- c("str3", "str4", "str5")
How can I paste these together so that I get:
"str1 + str2 + str3 + str4 + str5"
A straightforward application of paste() such as
paste(str1, str2, strvec, sep = "+")
doesn't work