Contexts for evaluating R expressions
This package organises collecting (and recreating) the context of an R expression to replay later.
These are the ingredients to create an environment (in rrqueue they’re called environments but I think that context is a little ambiguous). A context does imply an environment, but several environments might go into a context.
These will be saved at <path>/contexts/<id>
where <id>
is an identifier that we’ll generate to be unique to a context.
A context includes:
source
, or a global environment to createIn addition, the expression may have local variables.
# install.packages("drat")
drat:::add("mrc-ide")
install.packages("context")