title: In R, can't set names of vector elements using assignment in combine function
body: <p>Quick question. Why does the following work in R (correctly assigning the variable value "Hello" to the first element of the vector):</p>
  
  <pre><code>&gt; a &lt;- "Hello"
  &gt; b &lt;- c(a, "There")
  &gt; b
  [1] "Hello" "There"
  </code></pre>
  
  <p>And this works:</p>
  
  <pre><code>&gt; c &lt;- c("Hello"=1, "There"=2)
  &gt; c
  Hello There 
      1     2 
  </code></pre>
  
  <p>But this does not (making the vector element name equal to "a" rather than "Hello"):</p>
  
  <pre><code>&gt; c &lt;- c(a=1, "There"=2)
  &gt; c
      a There 
      1     2 
  </code></pre>
  
  <p>Is it possible to make R recognize that I want to use the value of a in the statement <code>c &lt;- c(a=1, "There"=2)</code>?</p>