[R] How to read Directory

Prateek Singh prateek.vit at gmail.com
Mon Jan 28 08:32:21 CET 2008


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
variable. How exactly we should give command line argument.



Regards,
Prateek

-- 
Prateek Singh
Final year Bioinformatics(BTech)
Vellore Institute Of Technology
Vellore-632014
ph.no. 09952187800
prateek.vit at gmail.com



More information about the R-help mailing list