In R, there are things that are super easy and there are simple things that are frustrating to do. I came across such a thing yesterday. Concatenating two columns of a matrix. There are millions of solutions online to do this. Most of them are almost same thing again and again and some of them are convoluted. However, none addressed the issue. Issue is that from an output with two columns, one should concatenate columns. There are tidyverse solutions and I was looking for simple solutions. 

Let us create a data frame with 3 columns:

$ test=data.frame(let=sample(letters,10),LET=sample(LETTERS,10),tel=sample(letters,10))

Then let us concatenate columns 2,3:

$ library(assertr)
$ col_concat(test[,c(2:3)], sep="_")

Output would be:
> col_concat(test[,c(2:3)], sep="_") 
[1] "C_z" "I_p" "Y_k" "N_m" "D_b" "Z_c" "H_l" "B_y" "K_u" "T_q"

Because this frame already exists, the same can be achieved by paste. However, these two columns are output from a different function, there is no easier way to merge columns.  This is one of the easiest solutions.