I have the same question as here, except I want to specify the variable split lengths with another vector. So, something like this:
example.data<-paste(&qu
split(example.data, rep(1:4, c(4,2,1,3)))