lastModified

0th

Percentile

Gets the time when the file was last modified

Gets the time when the file was last modified. The time is returned as a POSIXct object.

Keywords
programming, IO
Usage
## S3 method for class 'default':
lastModified(pathname, ...)
Arguments
pathname
A character string of the pathname to be checked.
...
Not used.
Value

  • Returns POSIXct object specifying when the file was last modified. If the file does not exist or it is a directory, 0 is returned.

See Also

Internally file.info() is used.

Aliases
  • lastModified.default
  • lastModified
Documentation reproduced from package R.utils, version 1.3.3, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.