 <p>The function <code>row.match</code> in the package <code>prodlim</code> allows you to identify the rows in one matrix that are also found (identical) in another matrix. Very convenient and easy to use.</p> <pre><code>library(prodlim) row.match(x,y) </code></pre>