r concatenate string and variable code example Example: r combine strings > paste("Hello", "world", sep=" ") [1] "Hello world"