I have a single list of numeric vector and I want to combine them into one vector. But I am unable to do that. This list can have one element common across the list element. Fin
A solution that is faster than the one proposed above:
vec<-unlist(lst) vec[which(c(1,diff(vec)) != 0)]