title: Assign multiple new variables on LHS in a single line
body: <p>I want to assign multiple variables in a single line in R. Is it possible to do something like this?</p>
  
  <pre><code>values # initialize some vector of values
  (a, b) = values[c(2,4)] # assign a and b to values at 2 and 4 indices of 'values'
  </code></pre>
  
  <p>Typically I want to assign about 5-6 variables in a single line, instead of having multiple lines. Is there an alternative?</p>