title: Creating a data frame from two vectors using cbind
body: <p>Consider the following R code.</p>
  
  <pre><code>&gt; x = cbind(c(10, 20), c("[]", "[]"), c("[[1,2]]","[[1,3]]"))
  &gt; x
       [,1] [,2] [,3]     
  [1,] "10" "[]" "[[1,2]]"
  [2,] "20" "[]" "[[1,3]]"
  </code></pre>
  
  <p>Similarly</p>
  
  <pre><code>&gt; x = rbind(c(10, "[]", "[[1,2]]"), c(20, "[]", "[[1,3]]"))
  &gt; x
       [,1] [,2] [,3]     
  [1,] "10" "[]" "[[1,2]]"
  [2,] "20" "[]" "[[1,3]]"
  </code></pre>
  
  <p>Now, I don't want the integers <code>10</code> and <code>20</code> to be converted to strings.
  How can I perform this operation without any such conversion? I would of
  course also like to know why this conversion happens. I looked at
  the <code>cbind</code> help and also tried Googling, but had no luck finding a
  solution. I also believe that in some cases. R converts strings to
  factors, and I don't want that to happen either, though it doesn't seem
  to be happening here.</p>