Jiao Yang wrote: > Dear all, > > I was wondering whether R has an operator or function that randomly permutes the element of a vector. > > Yes, it does. Oh, you wanted to know what it is called, too? sample(x)