title: R convert imported Excel numeric back from R factors to numeric
body: <p>I'm trying to read an Excel created .csv file into R. I've tried numerous suggestions but none have completely panned out for me.</p>
  
  <p>Here's how the data looks in the .csv file, with the first row being the header:</p>
  
  <pre><code>recipe_type,State,Successes,Attempts
  paper,alabama ,586,3379
  </code></pre>
  
  <p>Here are my R commands to import the .csv file:</p>
  
  <pre><code>options( StringsAsFactors=F )
  results&lt;-read.csv("recipe results.csv", header=TRUE, as.is=T)
  results$Successes
  [1] "586" 
  </code></pre>
  
  <p>And Successes is being treated as character data.</p>
  
  <p>And I've also tried this approach:
  results[,3]&lt;- as.numeric(levels(results$Successes)) but get the rank of each value in this column rather than the actual value, which another posts said would happen.</p>
  
  <p>Any ideas on how to get this data treated as numeric so I can get proper stat.desc stats for it?</p>
  
  <p>Thanks</p>