[R] automatic file input

Bansal, Vikas vikas.bansal at kcl.ac.uk
Mon Aug 22 18:08:52 CEST 2011


Dear all,

I have 100 files which are used as input.and I have to input the name of  my files again and again.the name of the files are 1.out, 2.out......100.out.
I want to know if there is anything like perl so that i can use something like this-


for($f = 1; $f <= 100; $f++) {
  $file = $f.".out";


I have tried this thing in R but it does not work.Can somebody please help me.



Thanking you,
Warm Regards
Vikas Bansal
Msc Bioinformatics
Kings College London


More information about the R-help mailing list