What is the working directory in R and how do options() and getOption() configure session behaviour?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Explain what the R working directory controls and how options() and getOption() set and read session-wide settings. Tests understanding of relative path resolution, reproducible project paths, option defaults, and how to restore settings after changing them.