Re: [R] any way to make it work faster (deleting rows that contain certain values)

2009-09-23 Thread Dimitri Liakhovitski
Chuck, thank you, but I am not sure I understood what you meant. There are a lot of rows in index where at least 2 columns have equal values and a lot of rows where column 1 has 2 and some other column has 5 - same for 3 in column 1 and 6 in some other column, etc. Thanks a lot for clarifying!

[R] any way to make it work faster (deleting rows that contain certain values)

2009-09-22 Thread Dimitri Liakhovitski
Hello, dear R'ers, index-expand.grid(1:7,1:4,1:4,1:4,1:4,1:4,1:4,1:4,1:4,1:4,1:4) In this case, dim(index) is 7,340,032 (!) and 11. I realize it's huge. Then, I am trying to get rid of the undesired combinations of columns. They should not contain identical values in any 2 columns. Also if

Re: [R] any way to make it work faster (deleting rows that contain certain values)

2009-09-22 Thread Charles C. Berry
On Tue, 22 Sep 2009, Dimitri Liakhovitski wrote: Hello, dear R'ers, index-expand.grid(1:7,1:4,1:4,1:4,1:4,1:4,1:4,1:4,1:4,1:4,1:4) In this case, dim(index) is 7,340,032 (!) and 11. I realize it's huge. Then, I am trying to get rid of the undesired combinations of columns. They should not