Skip to content
Prev 34257 / 63421 Next

creating environments in package's C code

On Oct 1, 2009, at 11:33 , Martin Becker wrote:

            
Rf_NewEnvironment is the function that does it, e.g.,
Rf_NewEnvironment(R_NilValue, R_NilValue, parent)
it's not part of the official API (headers) but it is visible.
For hashed environments it's R_NewHashedEnv().

Cheers,
Simon