search for: workingenvironment

Displaying 1 result from an estimated 1 matches for "workingenvironment".

2003 May 28
0
R_GlobalEnv
...ronment from within C, using R_GlobalEnv. In the example below, Rgui (R 1.7.0. Win2K) crashes when I try to run assignValueToFooInR_GlobalEnv, but not when I run assignValueToFooInRhoEnv with Rho=.GlobalEnv. Can anyone tell me why? [ My motivation is that I want use defineVar to initialise a workingEnvironment (corresponding to Value below), so that event-handler functions for a specific C library (which must have a specific prototype) can call R functions by looking up workingEnvironment with findVar. Earlier, I tried a static global SEXP variable in C to keep track of the environment, but that'...