two string in one string r

# Step 1: Define two strings
string1 <- "Hello"
string2 <- "World"

# Step 2: Concatenate the two strings
result <- paste(string1, string2, sep = " ")

# Step 3: Print or use the result
print(result)