Try this: > file.info("abc.R")$ctime - file.info("aa.R")$ctime Time difference of 228.9912 days
On Wed, Jul 22, 2009 at 10:44 AM, Erin Hodgess<erinm.hodg...@gmail.com> wrote: > Dear R People: > > I am looking at the ctime attribute of two different files. It > contains the year, month, day, time of creation and time zone. > > Is there a way to determine the difference between the ctimes of two > files, please? > > I looked in the chron package and nothing seemed to work. > > Thanks in advance, > Sincerely, > Erin > > > -- > Erin Hodgess > Associate Professor > Department of Computer and Mathematical Sciences > University of Houston - Downtown > mailto: erinm.hodg...@gmail.com > > ______________________________________________ > R-help@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. > ______________________________________________ R-help@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.