Carlos Biagolini Carlos Biagolini - 19 days ago 5
R Question

How add two text objects

How add sum information from two texts? Example:

obj1 <- c("A","E","I","O","U")

Now, how can I have an object with “BA”, “BE”,… “BU”? I tried:

obj2=c("B"+ obj1)

but it doesn't work.


If this is in R,

obj1 = c("A","E","I","O","U")
obj2 = paste("B", obj1,sep='')`