The R Project SVN R

Rev

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

Rev 70056 Rev 85254
Line 16... Line 16...
16
 
16
 
17
setSessionTimeLimit(cpu = Inf, elapsed = Inf)
17
setSessionTimeLimit(cpu = Inf, elapsed = Inf)
18
}
18
}
19
\arguments{
19
\arguments{
20
  \item{cpu, elapsed}{double (of length one).  Set a limit on
20
  \item{cpu, elapsed}{double (of length one).  Set a limit on
21
    the total or elapsed cpu time in seconds, respectively.}
21
    the total or elapsed CPU time in seconds, respectively.}
22
  \item{transient}{logical.  If \code{TRUE}, the limits apply only to
22
  \item{transient}{logical.  If \code{TRUE}, the limits apply only to
23
    the rest of the current computation.}
23
    the rest of the current computation.}
24
}
24
}
25
\details{
25
\details{
26
  \code{setTimeLimit} sets limits which apply to each top-level
26
  \code{setTimeLimit} sets limits which apply to each top-level
Line 39... Line 39...
39
  This will happen frequently in \R code and during \code{\link{Sys.sleep}},
39
  This will happen frequently in \R code and during \code{\link{Sys.sleep}},
40
  but only at points in compiled C and Fortran code identified by the
40
  but only at points in compiled C and Fortran code identified by the
41
  code author.
41
  code author.
42
#ifdef unix
42
#ifdef unix
43
 
43
 
44
  \sQuote{Total cpu time} includes that used by child processes where
44
  \sQuote{Total CPU time} includes that used by child processes where
45
  the latter is reported.
45
  the latter is reported.
46
#endif
46
#endif
47
}
47
}
48
\keyword{ utilities }
48
\keyword{ utilities }