I have this question a while back. Just wonder what is the best way (efficiency and elegance) to do this. The way I can think of is to use RandomPermutation to randomize the indices of the list, then choose the first m (of course needs to be less than the length of the list) elements from the list. But this requires the Combinatorica package.
Any better options?
Thank you.
Oh. It turns out (since version 6) that Mathematica will just do it for you:
RandomSample[list, m]