What is the difference between running R with Rscript versus the interactive REPL?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how running R through Rscript differs from working in the interactive R console. Tests understanding of non-interactive sessions: what gets printed, how errors and exit codes behave, how scripts receive arguments, and why the same code can act differently in a batch job.