The envnames package helps navigate user-defined and function execution environments, and find objects in nested environments
Introduction | Description of the 11 functions in the package | get_env_names(): retrieve the address-name lookup table of defined environments | Examples | Let's start with the definition of a few environments | Basic operation | environment_name(): retrieve name of user-defined and function execution environments | More advanced examples | Retrieving the environment name associated with a memory address | Retrieving a function execution environment | obj_find(): find the environments where (visible) objects exist | Let's start with a few object definitions | get_fun_name(), get_fun_calling(), get_fun_calling_chain(): retrieve functions in the function calling chain (stack) | get_fun_env(): retrieve a function's execution environment | Advanced example that puts together get_fun_calling() and get_fun_env() | get_obj_name(), get_obj_value(): retrieve the name/value of an object at a specified parent generation | Let's start with a few function definitions | Finding the parameter path leading to a given function's parameter | Use of get_obj_value() | get_obj_address() and address(): retrieve the memory address of an object | Summing up