Transform ellipsis in environment
<p>I have a function and the arguments are lists. How to access the arguments and save its in environment? That is, each argument is an element of environment. For example: </p>

<pre><code>a1 &lt;- a2 &lt;-  a3 &lt;-  list()
a1 &lt;- matrix(rnorm(6), ncol = 2)
a2 &lt;- matrix(rnorm(6), ncol = 2)
a3 &lt;- matrix(rnorm(6), ncol = 2)

#I know to access the `...` and save its in list, but I don't want to save in list.
f &lt;- function(...){
  temp &lt;- list(...)
  temp
}

tt &lt;- f(a1, a2, a3) #return a list of list
#To access the argument one
tt[[1]]
</code></pre>

<p>But I want to save the arguments in a environment.</p>