> Conclusion: hard to beat outer() for this purpose in R ... unless you use Ken Knoblauch's suggestion of dist() or Rccp. Nice indeed. S Ellison ******************************************************************* This email and any attachments are confidential. Any use...{{dropped:8}}