[R] get coordinates to multi file

Dieter Menne dieter.menne at menne-biomed.de
Wed Oct 29 08:13:03 CET 2008


Alessandro <alessandro.montaghi <at> unifi.it> writes:
> 
> but I must processing several and several files and I wish to know the
> methodology to create a loop formula.

Put your processing in a function, and call it like this

datafiles = dir("../raw")
for(file in datafiles)
{
  try(ProcessFile(file),FALSE)
}


Dieter



More information about the R-help mailing list