Can you explain the control flow statements in R?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Explain the control flow statements in R: conditionals, the loop forms and the statements that exit or skip an iteration. Tests basic R fluency, how idiomatic R code avoids explicit loops, and the classic pitfalls with vector conditions and empty sequences.