List of all combinations of 2 (pairs) from n objects

Input
n (total number from which the pairs are taken).
Only n <= 32 handled here:
Notes
This program uses R (www.r-project.org). R is a brilliant open source (i.e. free) statistics package derived from S and related to the equally excellent but not cheap commercial product S+ (www.insightful.com).

R on my hardware is very fast (SPSS, even Excel, eat your hearts out, but this is on the the end of a not very fast ADSL link so it will take a minute or so come back to you with the answer.

Please also note that I accept no responsibility for this script's results. I have enormous faith in R and programming this was trivial but if anything major depends on this, then you need to pay for good statistical support locally.

If you do find an error or problems here tell me!
All access is logged for IP address, time/date and parameters entered so I can track any abuse of the server.

Action!
Licensing and copying
You can download script that runs this

You will need to understand a bit about R and have David Firth's CGIwithR package to make the script or a derivative of it work on your own server.

Like almost everything on this website this work is licensed under a Creative Commons License.

Creative Commons License