title: How to convert a character vector into a numeric vector within data.table?
body: <p>First I uploaded a csv using &quot;fread&quot;, then I was trying to convert a string vector into a float/numeric vector.</p>
  <p>column1 looks like this:</p>
  <pre><code>print(column)
  c(&quot;0.100005&quot;, &quot;0.785222&quot;, &quot;0.975222&quot;, ...)
  </code></pre>
  <p>I used something like this:</p>
  <pre><code>as.numeric(df$column1) 
  </code></pre>
  <p>or</p>
  <pre><code>as.double(df$column1) 
  </code></pre>
  <p>The dataset was uploaded like a datatable class, and the mentiones options didn't work.</p>
  <p>Does anyone know any solutions on this issue?</p>