[R] list.files sorted by date

Henrique Dallazuanna wwwhsd at gmail.com
Mon Jan 21 21:07:42 CET 2008


Perhaps:

lsfiles <- file.info(dir())
lsfiles[order(lsfiles$mtime),]


On 21/01/2008, Alberto Monteiro <albmont at centroin.com.br> wrote:
> Is there any (list.files)-like function that sorts the files by
> (modification) date?
>
> Alberto Monteiro
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>


-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O



More information about the R-help mailing list