title: R: How to use a function argument as part of a variable name
body: <p>I want to use a function to return something that contains the argument value as part of its variable name.</p>
  
  <p>For instance, as a simple example:</p>
  
  <pre><code>a &lt;- 'file1'
  
  fun &lt;- function(a) {
  a.df &lt;- read.table(file=a)
  return(a.df)
  }
  </code></pre>
  
  <p>But how do I create the variable name of a.df? so in this example, I would like to return a data frame file1.df</p>