[R] read data into list of matrix

Jonas Stein news at jonasstein.de
Mon Apr 14 21:21:40 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'.

something like 

files = c("0125um","2000um","2200um","2500um","2700um")

for (i in 1:5)  
fp[i] <- read.table( files[i] )

but this does not work of course. 

Has anyone a good hint? 

Thank you,

Jonas Stein <news at jonasstein.de>

More information about the R-help mailing list