Description Usage Arguments Value See Also Examples
Checks for the existence of a previously recorded process in a thrown event history.
1 | isProcessRecorded(process, histname="event.history", envir=NULL)
|
process |
a character string defining the name of the process. |
envir |
the |
histname |
a character string defining the name of the history
variable stored in the specified frame. Default: |
a logical value. If TRUE
, the process has already
been recorded in the thrown event.
throwEvent
, catchEvent
, assignEvent
, eventHistory
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## throw an event
envir <- msGlobalEnv()
throwEvent("The 2005 British Open Championship", envir=envir)
## assign data to the thrown event
record <- list(Winner="Tiger Woods")
process <- "champion"
assignEvent(record, process)
## verify process has been recorded: TRUE
isProcessRecorded(process)
## catch event
catchEvent(NULL)
## once event has been caught, isProcessRecorded returns FALSE
isProcessRecorded(process)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.