title: Making multiple assignments to objects named as strings
body: <p>We can assign a value to a single object using that object's name - <code>assign("x", 1)</code> - and we can efficiently assign different values to multiple object thanks to the <code>zeallot</code> package - <code>c(x, y) %&lt;-% c(1, 2)</code> - but can we do both? I basically just want to do <code>c("x", "y") %&lt;-% c(1, 2)</code> and I can only think to do it in this lovely way:</p>
  
  <pre><code>invisible(mapply(function(i, j) assign(i, j, envir = .GlobalEnv), i = c("x", "y"), j = c(1, 2)))
  </code></pre>
  
  <p>Is there any better way?</p>