Re: [Rcpp-devel] experimental operators code

2010-06-11 Thread Davor Cubranic
On 2010-06-11, at 6:39 AM, 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 Haskel

Re: [Rcpp-devel] Calling RInside constructor multiple times

2010-06-11 Thread Dirk Eddelbuettel
Hi Peter, Thanks for your interest in in RInside! On 11 June 2010 at 09:53, Peter Holt wrote: | Hello List, | | I wrote a C++ program that does the following: | | ** | | int main (int argc, char **argv) | { |    RInside* temp_1 = new

[Rcpp-devel] Calling RInside constructor multiple times

2010-06-11 Thread Peter Holt
Hello List, I wrote a C++ program that does the following: ** int main (int argc, char **argv) { RInside* temp_1 = new RInside (argc, argv) // use temp_1 to load "temp_1.RData", and invoke // functions that are defined within

[Rcpp-devel] experimental operators code

2010-06-11 Thread romain
Hello, Somewhat motivated from Doug's recent question: http://permalink.gmane.org/gmane.comp.lang.r.rcpp/412 I added some experimental code in Rcpp to allow this: code <- ' NumericVector xx(x) ; NumericVector ll(lowerBd) ; return any( xx < ll ) ; ' ch