[R] read data into list of matrix

Jonas Stein news at jonasstein.de
Mon Apr 14 22:59:39 CEST 2008


>> i have a list of many files and want to load them into a list of tables,
>> that
>> can be adressed with a variable 'i'.


> fp <- lapply(files, read.table, header = T)

Thank you that works fine.

But how can i access the data in column fp$foo now?

fp[1]$foo does not work.

ps: thank you all for the replies per mail and the list here.

-- 
Jonas Stein <news at jonasstein.de>



More information about the R-help mailing list