Use the udf model variable information to get the environment where the functions exists
.udfEnvSetUdf(udf)
udf
: modelVars$udf, integer vector with NA_integer_ for the address of the environment where the functions existnothing called for side effects
Matthew L. Fidler
Useful links