title: Numbers in quotes read as numerical variable in R
body: <p>I have a dataset where there are many columns with numbers in quotes which indicates that a variable is a factor. (ex: "8").</p>
  
  <p><code>read.table</code> automatically converts them in numerical variables even if <code>stringsAsFactor</code> is set as true.
  Suppose I cannot convert them manually with <code>as.factor</code>, how can I import this dataset with those variables coded directly as factor?</p>