title: Is there a way to name all the elements of list
body: <p>Is there a way to name all the elements of list using names in array <code>element_names</code>.</p>
  <pre><code>element_names &lt;- c(&quot;A&quot;, &quot;B&quot;, &quot;C&quot;, &quot;D&quot;, &quot;E&quot;)
  
  x &lt;- list()
  for (iter in 1:5) {
    x[[iter]] &lt;- seq(1, iter)
  }
  </code></pre>