| Line 65... |
Line 65... |
| 65 |
}
|
65 |
}
|
| 66 |
\note{
|
66 |
\note{
|
| 67 |
When such progress bars are used, e.g., from a function in a package,
|
67 |
When such progress bars are used, e.g., from a function in a package,
|
| 68 |
the caller should typically ensure that the corresponding calls
|
68 |
the caller should typically ensure that the corresponding calls
|
| 69 |
(typically to \code{txtProgressBar()}, \code{setTxtProgressBar()} and
|
69 |
(typically to \code{txtProgressBar()}, \code{setTxtProgressBar()} and
|
| 70 |
\code{close(<progBar>)}) should only happen as \code{if(prog) <FUN>(..)},
|
70 |
\code{close(\var{progBar})}) should only happen as \code{if(prog) <FUN>(..)},
|
| 71 |
where, previously, \code{prog <- interactive() && !getOption("quiet", FALSE)},
|
71 |
where, previously, \code{prog <- interactive() && !getOption("quiet", FALSE)},
|
| 72 |
see, e.g., functions \code{ginla} or \code{gam.mh} from recommended package
|
72 |
see, e.g., functions \code{ginla} or \code{gam.mh} from recommended package
|
| 73 |
\CRANpkg{mgcv}.
|
73 |
\CRANpkg{mgcv}.
|
| 74 |
|
74 |
|
| 75 |
Using \code{style} 2 or 3 or reducing the value with \code{style = 1}
|
75 |
Using \code{style} 2 or 3 or reducing the value with \code{style = 1}
|