title: Is there another outer-like function for multiple vectors in R
body: <p>I have multiple vectors and I want to get all combinations of these vectors. Say, I have <code>v_1=(v_{1,1},...,v_{1,n_1}), ... , v_m=(v_{m_1,1},...,v_{m,n_m})</code> and I want to get the set of <code>u={(u_1,...,u_m)|u_i∈v_i}</code>. For 2 vectors, <code>outer</code> can do this job (needs reshape). How about the case of arbitrate number of vectors? </p>