[Rcpp-devel] experimental operators code

Davor Cubranic cubranic at stat.ubc.ca
Fri Jun 11 22:51:28 CEST 2010


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


More information about the Rcpp-devel mailing list