The R Project SVN R

Rev

Rev 90051 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 90051 Rev 90060
Line 43... Line 43...
43
    i.e., by default when \code{\link{options}("digits.secs")} is set, up to
43
    i.e., by default when \code{\link{options}("digits.secs")} is set, up to
44
    the specified number of digits will be printed for seconds, using
44
    the specified number of digits will be printed for seconds, using
45
    \code{"\%OS<n>"} instead of \code{"\%S"} in the format, see also
45
    \code{"\%OS<n>"} instead of \code{"\%S"} in the format, see also
46
    \sQuote{Details}.}
46
    \sQuote{Details}.}
47
  \item{\dots}{further arguments to be passed from or to other methods; for
47
  \item{\dots}{further arguments to be passed from or to other methods; for
48
    \code{strftime()}, notably \code{digits}, passed to \code{format(<POSIXlt>)}.}
48
    \code{strftime()}, notably \code{digits}, passed to \code{format(\var{POSIXlt})}.}
49
  \item{usetz}{logical.  Should the time zone abbreviation be appended
49
  \item{usetz}{logical.  Should the time zone abbreviation be appended
50
    to the output?  This is used in printing times, and more reliable
50
    to the output?  This is used in printing times, and more reliable
51
    than using \code{"\%Z"}.}
51
    than using \code{"\%Z"}.}
52
  \item{digits}{integer determining the \I{\code{format()}ing} of seconds when
52
  \item{digits}{integer determining the \I{\code{format()}ing} of seconds when
53
    needed.  Note that the defaults for \code{format()} and
53
    needed.  Note that the defaults for \code{format()} and
Line 253... Line 253...
253
  The default \code{digits = NULL} corresponds to \code{digits = 0}.
253
  The default \code{digits = NULL} corresponds to \code{digits = 0}.
254
 
254
 
255
  Note that the precedence is \code{format=".. \%OSn .."} \eqn{\ll}{>>}
255
  Note that the precedence is \code{format=".. \%OSn .."} \eqn{\ll}{>>}
256
  \code{digits = n}, the latter initialized by default from
256
  \code{digits = n}, the latter initialized by default from
257
  \code{getOption("digits.secs")}.
257
  \code{getOption("digits.secs")}.
258
  Currently, for output (\code{strftime()} and \code{format(<POSIX.t>)}),
258
  Currently, for output (\code{strftime()} and \code{format(\var{POSIXt})}),
259
  only \emph{one} "\%OS" occurrence is handled (per format string).
259
  only \emph{one} "\%OS" occurrence is handled (per format string).
260
  \cr
260
  \cr
261
  Further, for \code{strptime} \code{\%OS} will input seconds including
261
  Further, for \code{strptime} \code{\%OS} will input seconds including
262
  fractional seconds (to full precision).  Note that \code{\%S} does not
262
  fractional seconds (to full precision).  Note that \code{\%S} does not
263
  read or write fractional parts.
263
  read or write fractional parts.