title: Convert a string with dot and comma to numeric
body: <p>Is there a way to convert into a numeric type a string type? 
  For instance: </p>
  
  <pre><code>&gt; as.numeric("1.560,65")
  [1] NA
  Warning message:
  NAs introduced by coercion 
  </code></pre>
  
  <p>I receive the above error.
  I need the thousands to be displayed and separated by dot while (i.e. 1.560) the decimals to be displays and separated by comma.</p>
  
  <pre><code>&gt; as.numeric("1.560")
  [1] 1.56
  &gt; as.numeric("1.560")&gt;2
  [1] FALSE
  </code></pre>
  
  <p>In the above example while I want R to convert 1.560 into numeric it translates it to 1.56 which is not in thousands and this lower than 2 and thus my computations are wrong.</p>
  
  <p>Any help is much appreciated.</p>