Understanding how environments work is key when developing code in R, especially when trying to find out undesired behaviors (debugging) and/ or creating R packages.
I would like to share some notes/ experiments collected in order to build a better understanding around this interesting topic. The content is based/ inspired on the “Environments” chapter in “Advanced R” by Hadley Wickham.
Here is possible to find the main learnings published in RPubs. The supporting R markdown used to generate the document can be found here.
Enjoy the learnings & Have fun with R…