Dear all,

For example I want to process set of files.

Typically  Perl's idiom would be:

__BEGIN__
@files = glob("/mydir/*.txt");

foreach my $file (@files) {
  # process the file
}
__END__

What's the R's way to do that?

- Gundala Viswanath
Jakarta - Indonesia

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

Reply via email to