What is the difference between attaching and loading a package in R?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how loading a package in R differs from attaching it. Tests understanding of namespaces, the search path and name masking, how package dependencies are brought into a session, and which calls to use in scripts compared with package code.