The R Project SVN R

Rev

Rev 61160 | Rev 75106 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 61160 Rev 61433
Line 37... Line 37...
37
  \item{\dots}{for consistency with the generic.}
37
  \item{\dots}{for consistency with the generic.}
38
}
38
}
39
\details{
39
\details{
40
  \code{txtProgressBar} will display a progress bar on the \R console
40
  \code{txtProgressBar} will display a progress bar on the \R console
41
  (or a connection) via a text representation.
41
  (or a connection) via a text representation.
42
  
42
 
43
  \code{setTxtProgessBar} will update the value.  Missing
43
  \code{setTxtProgessBar} will update the value.  Missing
44
  (\code{\link{NA}}) and out-of-range values of \code{value} will be
44
  (\code{\link{NA}}) and out-of-range values of \code{value} will be
45
  (silently) ignored.  (Such values of \code{initial} cause the progress
45
  (silently) ignored.  (Such values of \code{initial} cause the progress
46
  bar not to be displayed until a valid value is set.)
46
  bar not to be displayed until a valid value is set.)
47
  
47
 
48
  The progress bar should be \code{close}d when finished with: this
48
  The progress bar should be \code{close}d when finished with: this
49
  outputs the final newline character.
49
  outputs the final newline character.
50
 
50
 
51
  \code{style = 1} and \code{style = 2} just shows a line of
51
  \code{style = 1} and \code{style = 2} just shows a line of
52
  \code{char}. They differ in that \code{style = 2} redraws the line
52
  \code{char}. They differ in that \code{style = 2} redraws the line
Line 73... Line 73...
73
#ifdef windows
73
#ifdef windows
74
  \code{\link{winProgressBar}},
74
  \code{\link{winProgressBar}},
75
#endif
75
#endif
76
  \code{\link{tkProgressBar}}.
76
  \code{\link{tkProgressBar}}.
77
#ifdef unix
77
#ifdef unix
78
  
78
 
79
  Windows versions of \R also have \code{winProgressBar}.
79
  Windows versions of \R also have \code{winProgressBar}.
80
#endif
80
#endif
81
}
81
}
82
\examples{\donttest{ # slow
82
\examples{\donttest{ # slow
83
testit <- function(x = sort(runif(20)), ...)
83
testit <- function(x = sort(runif(20)), ...)