rbind(NULL, matrix("a", 5,3))

Paul Gilbert pgilbert@bank-banque-canada.ca
Thu, 25 Jun 1998 11:01:22 -0400


>Fixed now.
>[In src/main/bind.c, just after line 913, insert
>                               if ( k == 0 )
>                                      mrows = 0;

I made this change, so the lines around 913 are now

     STRING(result)[i + n + (j * rows)] = STRING(u)[(i + j * mrows) % k];
    n += mrows;
                              if ( k == 0 )
                                       mrows = 0;
   }


and recompiled, but I still get the same problem:

> rbind(NULL, matrix("a", 5,3))
Arithmetic Exception - core dumped

Paul


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._