[R] combinations

Melinda Harwood
Sun, 29 Apr 2012 11:09:40 -0000

I am trying to make a function "permute" that takes two arguments: 1)
and alphabet consisting of a set of symbols and 2) a length being a
single integer N.With a safety check check in permute() that stops
execution (use the stop() function) with a warning when the number of
permutations would exceed 105.