Realizing that loops are usually not ideal in R, sometimes they are necessary.
When writing large loops, doesn't
for (i in 1:large_number)
waste memory, since a vector of size large_number must be created?
Would this make while loops the best choice for large, necessary loops?