title: Removing rows with NA in R
body: <p>I have a dataframe with 2500 rows. A few of the rows have NAs (an excessive number of NAs), and I want to remove those rows.</p>
  
  <p>I've searched the SO archives, and come up with this as the most likely solution:</p>
  
  <pre><code>df2 &lt;- df[df[, 12] != NA,]
  </code></pre>
  
  <p>But when I run it and look at df2, all I see is a screen full of NAs (and s).</p>
  
  <p>Any suggestions?</p>