🔁 R Loops

Loops in R are used to repeat actions multiple times. R has for, while, and repeat loops for different scenarios.

📖 Types of Loops

📝 Example: For Loop

Console output will appear here...
💡 Tip: You can exit a loop early with break, or skip an iteration with next.