On Wednesday, July 22, 2009 10:44 AM, Erin Hodgess wrote: > ...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...
are you looking for something different from > file1 <- file.info ( '~/Desktop/file1.txt' ) $ ctime > file1 [1] "2009-07-20 16:35:17 EDT" > file2 <- file.info ( '~/Desktop/file2.txt' ) $ ctime > file2 [1] "2009-02-12 18:58:47 EST" > file1 - file2 Time difference of 157.8587 days > David -- David ----------------------------------------------------- David Huffer, Ph.D. Senior Statistician CSOSA/Washington, DC david.huf...@csosa.gov ______________________________________________ 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.