Context class is for representing contexts in which
expressions are evaluated. This might be an R environment, a database,
or some other external system.
Contexts play an important role in translation. When extracting an
object by name, the context can delegate to a
SymbolFactory to create a
Symbol object that is a lazy reference to the
object. The reference is expressed in the target language. If there is
SymbolFactory, i.e., it has been set to
evaluation is eager.
The intent is to decouple the type of the context from a particular language, since a context could support the evaluation of multiple languages. The accessors below effectively allow one to specify the desired target language.
symbolFactory(x) <- value: Get or
set the current
SymbolFactory (may be NULL).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.