Re: [Rd] maximum matrix size

2018-10-03 Thread Therneau, Terry M., Ph.D. via R-devel
That is indeed helpful; reading the sections around it largely answered my questions. Rinternals.h has the definitions #define allocMatrix Rf_allocMatrix SEXP Rf_allocMatrix(SEXPTYPE, int, int); #define allocVector        Rf_allocVector SEXP Rf_allocVector(SEXPTYPE, R_xlen_t); Which answers

Re: [Rd] maximum matrix size

2018-10-02 Thread Peter Langfelder
Does this help a little? https://cran.r-project.org/doc/manuals/r-release/R-ints.html#Long-vectors One thing I seem to remember but cannot find a reference for is that long vectors can only be passed to .Call calls, not C/Fortran. I remember rewriting .C() in my WGCNA package to .Call for this ve

Re: [Rd] maximum matrix size

2018-10-02 Thread Henrik Bengtsson
On Tue, Oct 2, 2018 at 9:43 AM Therneau, Terry M., Ph.D. via R-devel wrote: > > I am now getting the occasional complaint about survival routines that are > not able to > handle big data. I looked in the manuals to try and update my understanding > of max > vector size, max matrix, max data se

[Rd] maximum matrix size

2018-10-02 Thread Therneau, Terry M., Ph.D. via R-devel
I am now getting the occasional complaint about survival routines that are not able to handle big data.   I looked in the manuals to try and update my understanding of max vector size, max matrix, max data set, etc; but it is either not there or I missed it (the latter more likely).   Is it s