allFilesList <- lapply(list.file(), read.table, ..args..) On Mon, Oct 4, 2010 at 2:10 AM, Arnab Maity <arnab_ma...@isb.edu> wrote: > Hi, > How can I read multiple files(in a loop like manner) within a single code > of R ? For example, I need to run the same code for different datasets (here > list of companies) and since individual files are quite large, appending the > files into one file is not a desirable option. Can this be done through a > macro or sql kind of command? > > Thank you in advance. > > > Arnab Kumar Maity > Researcher > Indian School of Business, > Hyderabad - 500032 > India > Ph- +91 40 2318 7886 > > > ________________________________ > DISCLAIMER : This e-mail (including any attachments) is ...{{dropped:11}} > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
-- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve? ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.