[R] <no subject>

Timur Elzhov Timur.Elzhov at jinr.ru
Tue Feb 24 15:14:17 CET 2004


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




More information about the R-help mailing list