Macaulay2 » Documentation
Packages » RInterface » RContext
next | previous | forward | backward | up | index | toc

RContext -- R context

Description

An RContext is a wrapper around an R environment that keeps track of variable bindings across a series of R computations.

Create an empty context with new RContext:

i1 : ctx = new RContext

o1 = ctx

o1 : RContext

Alternatively, pass an R code string to initialize the context with variable bindings. See new RContext from String.

See also

Menu

Methods that use a R context:

For the programmer

The object RContext is a self initializing type, with ancestor classes MutableHashTable < HashTable < Thing.


The source of this document is in RInterface/doc/context.m2:27:0.