title: How to loop a list through lappy after the $ sign in r
body: <p>I have been trying to figure out how to apply the apply functions plyr is out there. I will learn that later. But, I need help. I can get output with actually typing the object name in, but I am trying to loop a list through it. The code is as follows: </p>
  
  <pre><code>    list&lt;-noquote(c("T","AAVL"))
  lapply(list,function(i) xts(l.df$i[,-1:-5],order.by=as.POSIXct(rownames(l.df$i))))
  </code></pre>
  
  <p>If I just do <code>xts(l.df$T[,-1:-5],order.by=as.POSIXct(rownames(l.df$T))</code></p>
  
  <p>I get the xts file that I need. Could someone please help me loop the names without quotes into the lapply(), so that I could have this work for numerous elements in my list? Thank you!</p>