7.2 Internal data
R objects for functions’ internal use, not accessible to the user
Small, simple objects:
- define with
c()
ordata.frame()
inR/
code, e.g.R/data.R
.
Larger objects:
- store in
R/sysdata.rda
–> automatically lazy-loaded on demand.
Example use case: large tables of color data (munsell
and dichromat
)