Skip to content
Prev 70681 / 398525 Next

Unique arrangements of a vector

Tarmo Remmel wrote:

            
This one is quite outdated...
Nice for length 4, but you will get problems far sooner than for length 
1000... please calculate the size before!
For thing as short as 4, you might want to try out permutations() in 
package "gtools" (formerly in bundle gregmisc, since yesterday a single 
package).

Uwe Ligges