On 2010-06-11, at 6:39 AM, <romain at r-enthusiasts.com> <romain at r-enthusiasts.com> wrote: > I added some experimental code in Rcpp to allow this: > > code <- ' > NumericVector xx(x) ; > NumericVector ll(lowerBd) ; > > return any( xx < ll ) ; > > ' Very nice! It wouldn't be more succinct if it were written in Haskell. :-) Davor