[R] creating a list of dataframes

David Katz david at davidkatzconsulting.com
Fri Dec 3 21:27:19 CET 2010


1) You have redefined the command list which creates lists - not a great
idea.

2) See lapply; for example. Try something like:

list.of.df <- lapply(list.of.filenames,read.csv)
list.of.results <- lapply(list.of.df,your.application.function)

Regards,
David
-- 
View this message in context: http://r.789695.n4.nabble.com/creating-a-list-of-dataframes-tp3071598p3071710.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list