[R] extracting objects from lists
    lord12 
    gaut222 at yahoo.com
       
    Tue Sep 14 20:13:02 CEST 2010
    
    
  
If you have 5 data frames and you append them to a list, how do you access
the first data frame, not the first value of the first data frame while
iterating in a for loop?
list = c(d1,d2,d3,d4,d5) where d1..d5 are dataframes. 
for(i in 1: length(list)){
print(list[1])
}
-- 
View this message in context: http://r.789695.n4.nabble.com/extracting-objects-from-lists-tp2539412p2539412.html
Sent from the R help mailing list archive at Nabble.com.
    
    
More information about the R-help
mailing list