Carlos Biagolini Carlos Biagolini - 1 year ago 82
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.

Answer Source

If this is in R,

obj1 = c("A","E","I","O","U")
obj2 = paste("B", obj1,sep='')`
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download