Discover how to use while loops for repetitive tasks in R.