Displaying 1 result from an estimated 1 matches for "assignvaluetofooinrhoenv".
2003 May 28
0
R_GlobalEnv
Hi,
I'm trying to access the current R global environment 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 workin...