How can two strings be concatenated?
paste() is the way to go. As the previous posters pointed out, paste can do two things: concatenate values into one “string”, e.g. > paste(“Hello”, “world”, sep=” “) [1] “Hello world” where the argument sep specifies the character(s) to be used between the arguments to concatenate, or collapse character vectors > x <- c(“Hello”, “World”) … Read more