What are advantages of loop function over normal for and while loop in R



I have studied that in R there are loop function like lapply , tapply but I am really confused about that what are difference between loop function and for and while loop and where to use these loop function in our R program


they are much much faster to do and easy to write code on once u have learnt them

see http://www.r-bloggers.com/guess-who-wins-apply-versus-for-loops-in-r/ as a start