title: R - two data frame columns to list of key-value pairs
body: <p>Say I have a data frame</p>
  
  <pre><code>DF1 &lt;- data.frame("a" = c("a", "b", "c"), "b" = 1:3)
  </code></pre>
  
  <p>What is the easiest way to turn this into a list?</p>
  
  <pre><code>DF2 &lt;- list("a" = 1, "b" = 2, "c" = 3)
  </code></pre>
  
  <p>It must be really simple but I can't find out the answer.</p>