any in r code example Example: any in r x = seq(1,10,by=1) if (any(x > 5)){ # There is at least one x above 5 }