The R Project SVN R

Rev

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

Rev 59039 Rev 61433
Line 19... Line 19...
19
  A character vector giving the name for each of the
19
  A character vector giving the name for each of the
20
  registered callbacks which are invoked when
20
  registered callbacks which are invoked when
21
  a top-level task is completed successfully.
21
  a top-level task is completed successfully.
22
  Each name is the one used when registering
22
  Each name is the one used when registering
23
  the callbacks and returned as the in the
23
  the callbacks and returned as the in the
24
  call to \code{\link{addTaskCallback}}. 
24
  call to \code{\link{addTaskCallback}}.
25
}
25
}
26
\note{
26
\note{
27
  One can use \code{\link{taskCallbackManager}}
27
  One can use \code{\link{taskCallbackManager}}
28
  to manage user-level task callbacks,
28
  to manage user-level task callbacks,
29
  i.e., S-language functions, entirely within
29
  i.e., S-language functions, entirely within
Line 32... Line 32...
32
}
32
}
33
\seealso{
33
\seealso{
34
  \code{\link{addTaskCallback}},
34
  \code{\link{addTaskCallback}},
35
  \code{\link{removeTaskCallback}},
35
  \code{\link{removeTaskCallback}},
36
  \code{\link{taskCallbackManager}}\\
36
  \code{\link{taskCallbackManager}}\\
37
  \url{http://developer.r-project.org/TaskHandlers.pdf}  
37
  \url{http://developer.r-project.org/TaskHandlers.pdf}
38
}
38
}
39
\examples{
39
\examples{
40
 n <- addTaskCallback(function(expr, value, ok, visible) {
40
 n <- addTaskCallback(function(expr, value, ok, visible) {
41
                        cat("In handler\n")
41
                        cat("In handler\n")
42
                        return(TRUE)
42
                        return(TRUE)