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 ______________________________________________ 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.