title: R: Vector of keys and vector of values to list
body: <p>Suppose I have two vectors as follows:</p>
  
  <pre><code>keys &lt;- c("key1", "key2", "key3")
  values &lt;- c(1,2,3)
  </code></pre>
  
  <p>and I want to produce a list like this:</p>
  
  <pre><code>list("key1" = 1, "key2" = 2, "key3" = 3)
  </code></pre>
  
  <p>What's a good way to do this in R? </p>