powered by
listToCharacterVector(lst,sep=' /// ')
##an example list lst<-vector('list',3) lst[[1]]<-c('a1','a2') lst[[2]]<-'b' lst[[3]]<-c('c1','c2','c3') ##merge first 2 list elements listToCharacterVector(lst,sep=', ')
Run the code above in your browser using DataLab