Hello Mr Ripley, i was waiting you to ask and if you don't mind if there is a fast way in R to do these loops made with R and that takes a week because my matrix is with thousand of rows. I got another method that is more fast and is utilised by many packages : interfacing with other languages", but it is only a question for information
foo<-function() {for (i in 1:(n-1)){ for (k in (i+1):n){ b_0 for (j in 1:m){ if(bin[i,j]==TRUE&bin[k,j]==TRUE) b_b+1} print (b) } } } Thanks a lot Ramzi --------------------------------- [[alternate HTML version deleted]] ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help