On Tue, 24 Feb 2004 17:14:17 +0300, Timur Elzhov
<[EMAIL PROTECTED]> wrote :
> flist <- system("ls *.dat", intern = TRUE)
That's not portable (Windows doesn't necessarily have ls).
list.files() is the portable function to do this.
If you want to be Windows-only non-portable, then choose.files() is a
bit more friendly than list.files().
Duncan Murdoch
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html