Re: [R] list.files sorted by date

2008-01-22 Thread John Kane
xx<- file.info(dir()); xx xx[order(xx$mtime),] ? --- Alberto Monteiro <[EMAIL PROTECTED]> wrote: > Is there any (list.files)-like function that sorts > the files by > (modification) date? > > Alberto Monteiro > > __ > R-help@r-project.org mailing lis

Re: [R] list.files sorted by date

2008-01-21 Thread Henrique Dallazuanna
Perhaps: lsfiles <- file.info(dir()) lsfiles[order(lsfiles$mtime),] On 21/01/2008, Alberto Monteiro <[EMAIL PROTECTED]> wrote: > Is there any (list.files)-like function that sorts the files by > (modification) date? > > Alberto Monteiro > > __ > R-help