Is there any (list.files)-like function that sorts the files by (modification) date? Alberto Monteiro
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
xx<- file.info(dir()); xx xx[order(xx$mtime),] ? --- 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. >Looking for the perfect gift? Give the gift of Flickr!