Save and reload tasks. Tasks consist of an expression bound to a context.

task_save(expr, context, envir = parent.frame(), depends_on = NULL)

Arguments

expr

An expression to save

context

A context object

envir

Passed through to context_save when locating local variables.

depends_on

Optional vector of task ids that this task depends on

Value

An identifier that can be used to retrieve or run the task later. This is simply a short string.