title: how to convert str to int?
body: <p>I try to input data in R, but I don't know how to convert str into int in following script.</p>
  
  <pre><code>&gt;countsTable &lt;- read.table("targets.txt")
  
  &gt;matrixTable &lt;- as.matrix(countsTable)
  
  [1,] "hsa-miR-548ax"      "0"       "1"      
  [2,] "hsa-miR-548f"       "0"       "1"      
  [3,] "hsa-miR-548g-3p"    "0"       "1"      
  [4,] "hsa-miR-5589-3p"    "0"       "1"      
  [5,] "hsa-miR-5698"       "0"       "1"      
  [6,] "hsa-miR-592"        "0"       "1"      
  [7,] "hsa-miR-6129"       "0"       "1"      
  [8,] "hsa-miR-658"        "0"       "1" 
  
  &gt; normLimma &lt;- normalizeBetweenArrays(matrixTable,method="quantile")
  
  Error in rowMeans(S) : 'x' must be numeric
  </code></pre>