title: Access list element using get()
body: <p>I'm trying to use <code>get()</code> to access a list element in R, but am getting an error.</p>
  <pre class="lang-r prettyprint-override"><code>example.list &lt;- list()
  example.list$attribute &lt;- c(&quot;test&quot;)
  get(&quot;example.list&quot;) # Works just fine
  get(&quot;example.list$attribute&quot;) # breaks
  
  ## Error in get(&quot;example.list$attribute&quot;) : 
  ##  object 'example.list$attribute' not found
  </code></pre>
  <p>Any tips?  I am looping over a vector of strings which identify the list names, and this would be really useful.</p>