The R Project SVN R

Rev

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

Rev 61150 Rev 61433
Line 61... Line 61...
61
\details{
61
\details{
62
Top-level tasks are individual expressions
62
Top-level tasks are individual expressions
63
rather than entire lines of input.  Thus an input
63
rather than entire lines of input.  Thus an input
64
line of the form \code{expression1 ; expression2}
64
line of the form \code{expression1 ; expression2}
65
will give rise to 2 top-level tasks.
65
will give rise to 2 top-level tasks.
66
  
66
 
67
A top-level task callback is called with the expression for the
67
A top-level task callback is called with the expression for the
68
top-level task, the result of the top-level task, a logical value
68
top-level task, the result of the top-level task, a logical value
69
indicating whether it was successfully completed or not (always TRUE
69
indicating whether it was successfully completed or not (always TRUE
70
at present), and a logical value indicating whether the result was
70
at present), and a logical value indicating whether the result was
71
printed or not.  If the \code{data} argument was specified in the call
71
printed or not.  If the \code{data} argument was specified in the call
Line 107... Line 107...
107
 # now remove it, assuming it is still first in the list.
107
 # now remove it, assuming it is still first in the list.
108
 removeTaskCallback(n)
108
 removeTaskCallback(n)
109
 
109
 
110
\dontrun{
110
\dontrun{
111
# There is no point in running this
111
# There is no point in running this
112
# as 
112
# as
113
 addTaskCallback(times(4))
113
 addTaskCallback(times(4))
114
 
114
 
115
 sum(1:10)
115
 sum(1:10)
116
 sum(1:10)
116
 sum(1:10)
117
 sum(1:10)
117
 sum(1:10)