title: Creating an empty dataframe in R with column names stored in two separate lists
body: <p>I have two separate lists containing column names of a new dataframe <a href="/questions/tagged/df" class="post-tag" title="show questions tagged &#39;df&#39;" rel="tag">df</a> to be created.</p>
  <pre><code>fixed &lt;- list(&quot;a&quot;, &quot;b&quot;)
  variable &lt;- list(&quot;a1&quot;, &quot;b1&quot;, &quot;c1&quot;)
  </code></pre>
  <p>How do I proceed so as to make the column names of <a href="/questions/tagged/df" class="post-tag" title="show questions tagged &#39;df&#39;" rel="tag">df</a> appear in the order <a href="/questions/tagged/a" class="post-tag" title="show questions tagged &#39;a&#39;" rel="tag">a</a><a href="/questions/tagged/b" class="post-tag" title="show questions tagged &#39;b&#39;" rel="tag">b</a><a href="/questions/tagged/a1" class="post-tag" title="show questions tagged &#39;a1&#39;" rel="tag">a1</a><a href="/questions/tagged/b1" class="post-tag" title="show questions tagged &#39;b1&#39;" rel="tag">b1</a><a href="/questions/tagged/c1" class="post-tag" title="show questions tagged &#39;c1&#39;" rel="tag">c1</a></p>