title: Converting from a character to a numeric data frame
body: <p>I have a character data frame in R which has <code>NaN</code>s in it. I need to remove any row with a <code>NaN</code> and then convert it to a numeric data frame.</p>
  
  <p>If I just do as.numeric on the data frame, I run into the following</p>
  
  <pre><code>Error: (list) object cannot be coerced to type 'double'
   1:
   0:
  </code></pre>