R specify function environment
I have a question about function environments in the R language. I know that everytime a function is called in R, a new environment E is created in which the function body is executed. The parent link of E points to the environment in which the function was created. My question: Is it possible to specify the environment E somehow, i.e., can one provide a certain environment in which function execution should happen? A function has an environment that can be changed from outside the function, but not inside the function itself. The environment is a property of the function and can be retrieved