Dear all, I am working in R a program for cross validation. I have a vector of 20 observations and I want to find all the possible combinations (20,4) and store them as data. I wonder if someone can help me. Thanks in advance. Makis ---------------------- E Motakis, Mathematics E.Motakis at bristol.ac.uk