On Tue, Feb 24, 2004 at 05:11:07PM +0300, Timur Elzhov wrote:
>> Dear ladies and gentlmen,
>> I want to import a directory with about 400 files (.dat) in R. I know
>> how to import a single file (with scan...) but I've good no idea how
>> to import 400 at once. Can you help me ?
> You can get list of the files you need:
> flist <- system("ls", intern = TRUE)
flist <- system("ls *.dat", intern = TRUE)
in your case, you see :)
--
WBR,
Timur
______________________________________________
[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