Skip to content
Prev 139460 / 398503 Next

fast way to compare two matrices of combinations

Thanks to all for their suggestions. I apologize for not supplying a 
self-contained example, I should not post questions when I'm on the way 
out the door.

Martin's suggestion should work, but I need to put in on our 
high-performance system next week. On my local 64-bit Linux box with 4GB 
of RAM it blew up when a vector reached 2.6GB.

I may also get something to work using Charles' suggestion to use R's 
intrinsic table functions. I initially could not see how to do this with 
  a vector of 3 elements, but I believe I can if I sort each vector, to 
obviate effects of order, and paste them together to make one unique string.

Once I get something that works and is an optimized as I can make it, 
I'll post for future reference and for suggestions on further optimization.

Mark

Mark W. Kimpel MD  ** Neuroinformatics ** Dept. of Psychiatry
Indiana University School of Medicine

15032 Hunter Court, Westfield, IN  46074

(317) 490-5129 Work, & Mobile & VoiceMail
(317) 204-4202 Home (no voice mail please)

mwkimpel<at>gmail<dot>com

******************************************************************
Charles C. Berry wrote: