Concatenate columns

I want to concatenate three columns: cod1,cod2,cod3 in a new column called COD. I use df$COD = paste(df$cod1,df$cod2,df$cod3) and it works but with a blank space between: "cod1 cod2 cod3" and all I want is "cod1cod2cod3". Any trick?

Just found it: sep="".

sorry for any inconvenience

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.