You are close to the right code, just add collapse and work on rows with margin=1:
apply(data, 1, paste,collapse=" ")
[1] "abc fghi m" " j " "de kl "
from documentation
collapse an optional character string to separate the results.
To integrate the output in your dataset:
data$pasted<-apply(data, 1, paste,collapse=" ")
> data
x1 x2 x3 pasted
1 abc fghi m abc fghi m
2 j j
3 de kl de kl
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…