[R] How to get the last modified time of a file from R

Henrique Dallazuanna wwwhsd at gmail.com
Fri Aug 26 22:16:24 CEST 2011


Try this:

file.info("your_file")$mtime

On Fri, Aug 26, 2011 at 4:48 PM, alan wu <alan.wu2007 at gmail.com> wrote:
> Hi All,
>
> I want to add the last modified time of the dataset I used in the
> analysis. Any idea about how to get it from R in windows XP system?
>
> Thanks
>
>
> Alan
>
> ______________________________________________
> 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