What is the difference between library() and require() in R?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how library() and require() differ when loading an R package, with attention to what each does when the package is not installed. Tests whether you know which call belongs in a script and how to check package availability safely.