R experts: Is there any vectorized logical comparison in R? For instance I want stop some iterartion process until the every component of the error vector all small than 1%. Thanks,