[R] How to read Directory

2008-01-27 Thread Prateek Singh
Hi, I have bunch of files to be parsed for my problem. I don't want to keep on executing R script for each file. Is there any way through which I can read whole directory. Like PERL has opendir() function for directory handling. One more doubt is commandArgs() function returns array or single

Re: [R] How to read Directory

2008-01-27 Thread J. Scott Olsson
On Jan 28, 2008 2:32 AM, Prateek Singh [EMAIL PROTECTED] wrote: I have bunch of files to be parsed for my problem. I don't want to keep on executing R script for each file. Is there any way through which I can read whole directory. Like PERL has opendir() function for directory handling. Is

Re: [R] How to read Directory

2008-01-27 Thread mel
?dir __ 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.