title: Using identical() in R with multiple vectors
body: <p>Suppose that I have five vectors:</p>
  
  <pre><code>A&lt;-1:10
  B&lt;-1:10
  C&lt;-1:10
  D&lt;-1:10
  E&lt;-1:12
  </code></pre>
  
  <p>I could test two at a time using identical( ).</p>
  
  <pre><code>identical(A,C)
  </code></pre>
  
  <p>But I want to test ALL of them at once to see if ANY is different from the others. Is there an easy way to do this?</p>