On Tue, 25 Nov 2003 07:27:46 -0500 (EST), you wrote: > >Perhaps the dir= and pattern= arguments could be combined so that >its not necessary to for list.files to paste them together: > > list.files("C:/a*.txt", glob=T) Why not use system() or shell() instead? Those explicitly do what ls or dir would do. Duncan Murdoch