In R, if a variable is not found in the local environment of a nested function, the function will look in the ________ of the outer function.

  • Parent environment
  • Global environment
  • Child environment
  • Current environment
In R, if a variable is not found in the local environment of a nested function, the function will look in the parent environment of the outer function. This allows the nested function to access variables defined in the outer function, providing access to variables from higher-level environments.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *