I have a list of vectors of strings like this:
x=list(c("a","b"),"c",c("d","e","f"),c("gg","hh") )
I'd like to concatenate the vectors into single strings like this
y=c("ab","c","def","gghh")
I searched around but I couldn't find a similar example. Is there a smart way to do this without looping over the list elements?