7.4 Internal state

Some notes on internal package environments:

  • The environment persists only for the current R session
  • We use “the” as the environment name so we can read things like “the favorite letters” or “the object” in plain English.

When to define the environment: - Before it will be used. To be safe, R/aaa.R - Can put it in a lower script if it will only be used for e.g. one family of functions.