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
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
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
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