1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% lastModified.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{lastModified}
\alias{lastModified.default}
\alias{lastModified}
\title{Gets the time when the file was last modified}
\description{
Gets the time when the file was last modified. The time is returned as a \code{POSIXct} object.
}
\usage{
\method{lastModified}{default}(pathname, ...)
}
\arguments{
\item{pathname}{A \code{\link[base]{character}} string of the pathname to be checked.}
\item{...}{Not used.}
}
\value{
Returns \code{POSIXct} object specifying when the file was last modified.
If the file does not exist or it is a directory, \code{0} is returned.
}
\section{Symbolic links}{
This function follows symbolic links (also on Windows) and returns a
value based on the link target (rather than the link itself).
}
\author{Henrik Bengtsson}
\seealso{
Internally \code{\link[base]{file.info}}() is used.
}
\keyword{IO}
\keyword{programming}
|